@nelsonlaidev/oxlint-config 0.3.2 → 1.0.0
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/README.md +91 -47
- package/dist/index.d.mts +15 -137
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +843 -1134
- package/dist/index.mjs.map +1 -1
- package/package.json +44 -32
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nelsonlaidev/oxlint-config",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Nelson Lai's oxlint config preset",
|
|
5
|
+
"homepage": "https://github.com/nelsonlaidev/config/tree/main/packages/oxlint-config",
|
|
5
6
|
"bugs": {
|
|
6
7
|
"url": "https://github.com/nelsonlaidev/config/issues"
|
|
7
8
|
},
|
|
@@ -17,51 +18,56 @@
|
|
|
17
18
|
],
|
|
18
19
|
"type": "module",
|
|
19
20
|
"exports": {
|
|
20
|
-
"
|
|
21
|
-
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.mts",
|
|
23
|
+
"import": "./dist/index.mjs"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
22
26
|
},
|
|
23
27
|
"publishConfig": {
|
|
24
28
|
"access": "public"
|
|
25
29
|
},
|
|
26
30
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"local-pkg": "^1.1.2"
|
|
31
|
+
"ts-deepmerge": "^8.0.0"
|
|
29
32
|
},
|
|
30
33
|
"devDependencies": {
|
|
31
|
-
"@eslint-react/eslint-plugin": "
|
|
34
|
+
"@eslint-react/eslint-plugin": "^5.10.2",
|
|
35
|
+
"@eslint/core": "^1.2.1",
|
|
32
36
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
33
37
|
"@types/node": "^24.11.0",
|
|
34
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
38
|
+
"eslint-plugin-better-tailwindcss": "^4.6.0",
|
|
35
39
|
"eslint-plugin-command": "^3.5.2",
|
|
36
|
-
"eslint-plugin-de-morgan": "^2.1.
|
|
40
|
+
"eslint-plugin-de-morgan": "^2.1.2",
|
|
37
41
|
"eslint-plugin-import-zod": "^1.2.1",
|
|
38
|
-
"eslint-plugin-playwright": "^2.10.
|
|
39
|
-
"eslint-plugin-react-hooks": "^7.
|
|
40
|
-
"eslint-plugin-regexp": "^3.1.
|
|
41
|
-
"eslint-plugin-simple-import-sort": "^
|
|
42
|
-
"eslint-plugin-sonarjs": "^4.0
|
|
43
|
-
"oxlint": "^1.
|
|
42
|
+
"eslint-plugin-playwright": "^2.10.4",
|
|
43
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
44
|
+
"eslint-plugin-regexp": "^3.1.1",
|
|
45
|
+
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
46
|
+
"eslint-plugin-sonarjs": "^4.1.0",
|
|
47
|
+
"oxlint": "^1.72.0",
|
|
48
|
+
"oxlint-config-inspector": "1.0.0",
|
|
44
49
|
"oxlint-tsgolint": "^0.23.0",
|
|
50
|
+
"tinyexec": "^1.2.4",
|
|
45
51
|
"tsdown": "^0.21.6",
|
|
46
|
-
"tsx": "^4.22.
|
|
52
|
+
"tsx": "^4.22.5",
|
|
47
53
|
"vitest": "^4.1.2",
|
|
48
|
-
"@nelsonlaidev/eslint-plugin": "0.2.
|
|
54
|
+
"@nelsonlaidev/eslint-plugin": "0.2.5"
|
|
49
55
|
},
|
|
50
56
|
"peerDependencies": {
|
|
51
|
-
"@eslint-react/eslint-plugin": "
|
|
52
|
-
"@nelsonlaidev/eslint-plugin": "^0.2.
|
|
57
|
+
"@eslint-react/eslint-plugin": "^5.10.2",
|
|
58
|
+
"@nelsonlaidev/eslint-plugin": "^0.2.5",
|
|
53
59
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
54
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
60
|
+
"eslint-plugin-better-tailwindcss": "^4.6.0",
|
|
55
61
|
"eslint-plugin-command": "^3.5.2",
|
|
56
|
-
"eslint-plugin-de-morgan": "^2.1.
|
|
62
|
+
"eslint-plugin-de-morgan": "^2.1.2",
|
|
57
63
|
"eslint-plugin-import-zod": "^1.2.1",
|
|
58
|
-
"eslint-plugin-playwright": "^2.10.
|
|
59
|
-
"eslint-plugin-react-hooks": "^7.
|
|
60
|
-
"eslint-plugin-regexp": "^3.1.
|
|
61
|
-
"eslint-plugin-simple-import-sort": "^
|
|
62
|
-
"eslint-plugin-sonarjs": "^4.0
|
|
63
|
-
"oxlint": ">=1.
|
|
64
|
-
"oxlint-tsgolint": ">=0.
|
|
64
|
+
"eslint-plugin-playwright": "^2.10.4",
|
|
65
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
66
|
+
"eslint-plugin-regexp": "^3.1.1",
|
|
67
|
+
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
68
|
+
"eslint-plugin-sonarjs": "^4.1.0",
|
|
69
|
+
"oxlint": ">=1.71.0",
|
|
70
|
+
"oxlint-tsgolint": ">=0.23.1"
|
|
65
71
|
},
|
|
66
72
|
"peerDependenciesMeta": {
|
|
67
73
|
"@eslint-react/eslint-plugin": {
|
|
@@ -80,15 +86,21 @@
|
|
|
80
86
|
"optional": true
|
|
81
87
|
}
|
|
82
88
|
},
|
|
89
|
+
"engines": {
|
|
90
|
+
"node": ">=22"
|
|
91
|
+
},
|
|
83
92
|
"scripts": {
|
|
84
93
|
"build": "tsdown",
|
|
94
|
+
"build:inspector": "oxlint-config-inspector build --config ./oxlint-inspector.config.ts",
|
|
85
95
|
"clean": "rm -rf .turbo dist",
|
|
86
96
|
"dev": "tsdown --watch",
|
|
97
|
+
"dev:inspector": "oxlint-config-inspector dev --config ./oxlint-inspector.config.ts",
|
|
98
|
+
"sync": "tsx scripts/sync-oxlint-eslint.ts",
|
|
99
|
+
"sync:check": "tsx scripts/sync-oxlint-eslint.ts --check",
|
|
100
|
+
"sync:classify": "tsx scripts/sync-oxlint-eslint.ts --classify",
|
|
101
|
+
"sync:report": "tsx scripts/sync-oxlint-eslint.ts --report --write",
|
|
87
102
|
"test": "vitest run",
|
|
88
103
|
"test:watch": "vitest",
|
|
89
|
-
"typecheck": "tsc --noEmit"
|
|
90
|
-
"sync": "tsx scripts/sync-oxlint-eslint.ts && tsx scripts/generate-oxlint-plugin-snapshots.ts",
|
|
91
|
-
"sync:check": "tsx scripts/sync-oxlint-eslint.ts --diff && tsx scripts/generate-oxlint-plugin-snapshots.ts --check",
|
|
92
|
-
"sync:report": "tsx scripts/sync-oxlint-eslint.ts --report --write"
|
|
104
|
+
"typecheck": "tsc --noEmit"
|
|
93
105
|
}
|
|
94
106
|
}
|