@wistia/oxlint-config 1.7.0 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configs/javascript.mjs +2 -2
- package/configs/react.mjs +1 -1
- package/configs/storybook.mjs +1 -1
- package/configs/typescript.mjs +2 -2
- package/package.json +20 -20
package/configs/javascript.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineConfig } from 'oxlint';
|
|
2
|
+
import { barrelFilesRules } from '../rules/barrel-files.mjs';
|
|
2
3
|
import { baseRules } from '../rules/base.mjs';
|
|
4
|
+
import { customRules } from '../rules/custom.mjs';
|
|
3
5
|
import { importRules } from '../rules/import.mjs';
|
|
4
6
|
import { promiseRules } from '../rules/promise.mjs';
|
|
5
|
-
import { barrelFilesRules } from '../rules/barrel-files.mjs';
|
|
6
|
-
import { customRules } from '../rules/custom.mjs';
|
|
7
7
|
import { unicornRules } from '../rules/unicorn.mjs';
|
|
8
8
|
|
|
9
9
|
export default defineConfig({
|
package/configs/react.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineConfig } from 'oxlint';
|
|
2
|
-
import { reactRules } from '../rules/react.mjs';
|
|
3
2
|
import { reactA11yRules } from '../rules/react-a11y.mjs';
|
|
3
|
+
import { reactRules } from '../rules/react.mjs';
|
|
4
4
|
|
|
5
5
|
export default defineConfig({
|
|
6
6
|
plugins: [...reactRules.plugins, ...reactA11yRules.plugins],
|
package/configs/storybook.mjs
CHANGED
package/configs/typescript.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineConfig } from 'oxlint';
|
|
2
|
+
import { barrelFilesRules } from '../rules/barrel-files.mjs';
|
|
2
3
|
import { baseRules } from '../rules/base.mjs';
|
|
4
|
+
import { customRules } from '../rules/custom.mjs';
|
|
3
5
|
import { importRules } from '../rules/import.mjs';
|
|
4
6
|
import { promiseRules } from '../rules/promise.mjs';
|
|
5
7
|
import { typescriptRules } from '../rules/typescript.mjs';
|
|
6
|
-
import { barrelFilesRules } from '../rules/barrel-files.mjs';
|
|
7
|
-
import { customRules } from '../rules/custom.mjs';
|
|
8
8
|
import { unicornRules } from '../rules/unicorn.mjs';
|
|
9
9
|
|
|
10
10
|
export default defineConfig({
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/oxlint-config",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Wistia's Oxlint configurations",
|
|
5
|
-
"packageManager": "yarn@4.17.
|
|
5
|
+
"packageManager": "yarn@4.17.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
|
-
"configs",
|
|
9
|
-
"rules",
|
|
10
|
-
"plugins",
|
|
11
|
-
"index.mjs",
|
|
12
|
-
"index.d.mts",
|
|
13
|
-
"oxfmtConfig.mjs",
|
|
14
|
-
"oxfmtConfig.d.mts"
|
|
8
|
+
"/configs",
|
|
9
|
+
"/rules",
|
|
10
|
+
"/plugins",
|
|
11
|
+
"/index.mjs",
|
|
12
|
+
"/index.d.mts",
|
|
13
|
+
"/oxfmtConfig.mjs",
|
|
14
|
+
"/oxfmtConfig.d.mts"
|
|
15
15
|
],
|
|
16
16
|
"exports": {
|
|
17
17
|
"./package.json": "./package.json",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
"scripts": {
|
|
52
52
|
"changeset": "changeset",
|
|
53
53
|
"disabled": "node scripts/list-disabled-rules.mjs",
|
|
54
|
-
"format": "oxfmt .",
|
|
55
|
-
"format:ci": "oxfmt --check .",
|
|
54
|
+
"format": "oxfmt -c oxfmt.config.mjs .",
|
|
55
|
+
"format:ci": "oxfmt -c oxfmt.config.mjs --check .",
|
|
56
56
|
"outdated": "yarn upgrade-interactive",
|
|
57
57
|
"release": "changeset publish",
|
|
58
58
|
"test": "vitest run --exclude test/validate-configs.test.mjs",
|
|
59
59
|
"validate": "vitest run test/validate-configs.test.mjs"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"eslint": ">= 10.
|
|
63
|
-
"oxfmt": ">= 0.
|
|
62
|
+
"eslint": ">= 10.6.0",
|
|
63
|
+
"oxfmt": ">= 0.57.0",
|
|
64
64
|
"oxlint": ">= 1.72.0",
|
|
65
65
|
"oxlint-tsgolint": ">= 0.23.0"
|
|
66
66
|
},
|
|
@@ -70,16 +70,16 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
73
|
+
"@eslint-react/eslint-plugin": "^5.10.0",
|
|
74
74
|
"@vitest/eslint-plugin": "^1.6.20",
|
|
75
75
|
"confusing-browser-globals": "^1.0.11",
|
|
76
76
|
"eslint-plugin-barrel-files": "^3.0.1",
|
|
77
|
-
"eslint-plugin-import-x": "^4.
|
|
77
|
+
"eslint-plugin-import-x": "^4.17.1",
|
|
78
78
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
79
|
-
"eslint-plugin-n": "^18.1
|
|
79
|
+
"eslint-plugin-n": "^18.2.1",
|
|
80
80
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
81
81
|
"eslint-plugin-playwright": "^2.10.4",
|
|
82
|
-
"eslint-plugin-storybook": "^10.4.
|
|
82
|
+
"eslint-plugin-storybook": "^10.4.6",
|
|
83
83
|
"eslint-plugin-styled-components": "^0.0.0",
|
|
84
84
|
"eslint-plugin-styled-components-a11y": "^2.2.1",
|
|
85
85
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@changesets/changelog-github": "^0.7.0",
|
|
90
90
|
"@changesets/cli": "^2.31.0",
|
|
91
|
-
"eslint": "^10.
|
|
92
|
-
"oxfmt": "^0.
|
|
91
|
+
"eslint": "^10.6.0",
|
|
92
|
+
"oxfmt": "^0.57.0",
|
|
93
93
|
"oxlint": "^1.72.0",
|
|
94
94
|
"oxlint-tsgolint": "^0.23.0",
|
|
95
|
-
"storybook": "^10.4.
|
|
95
|
+
"storybook": "^10.4.6",
|
|
96
96
|
"vitest": "^4.1.9"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|