@aiou/eslint-config 2.2.0 → 3.0.1
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/dist/index.cjs +67 -90
- package/dist/index.mjs +65 -87
- package/dts/configs/toml.d.ts +2 -0
- package/dts/globs.d.ts +1 -0
- package/dts/index.d.ts +2 -1
- package/dts/typegen.d.ts +7064 -2588
- package/package.json +31 -32
- package/{README.md → readme.md} +3 -3
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiou/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "eslint config for JW",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": ">=20"
|
|
9
|
+
"node": ">=20.19"
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://github.com/jiangweixian/eslint-config/packages/default#readme",
|
|
12
12
|
"repository": {
|
|
@@ -37,38 +37,38 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"eslint": ">=
|
|
40
|
+
"eslint": ">=10"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
44
|
-
"@eslint-react/eslint-plugin": "^
|
|
45
|
-
"@eslint/markdown": "^
|
|
46
|
-
"@next/eslint-plugin-next": "^
|
|
47
|
-
"@stylistic/eslint-plugin": "^
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
49
|
-
"@typescript-eslint/parser": "^8.
|
|
50
|
-
"eslint-flat-config-utils": "^
|
|
43
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
|
|
44
|
+
"@eslint-react/eslint-plugin": "^4.2.3",
|
|
45
|
+
"@eslint/markdown": "^8.0.1",
|
|
46
|
+
"@next/eslint-plugin-next": "^16.2.4",
|
|
47
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
49
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
50
|
+
"eslint-flat-config-utils": "^3.1.0",
|
|
51
51
|
"eslint-plugin-etc": "^2.0.3",
|
|
52
|
-
"eslint-plugin-import-newlines": "^
|
|
53
|
-
"eslint-plugin-import-x": "^4.16.
|
|
54
|
-
"eslint-plugin-jsonc": "^
|
|
55
|
-
"eslint-plugin-n": "^17.
|
|
56
|
-
"eslint-plugin-node": "^11.1.0",
|
|
52
|
+
"eslint-plugin-import-newlines": "^2.0.0",
|
|
53
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
54
|
+
"eslint-plugin-jsonc": "^3.1.2",
|
|
55
|
+
"eslint-plugin-n": "^17.24.0",
|
|
57
56
|
"eslint-plugin-promise": "^7.2.1",
|
|
58
|
-
"eslint-plugin-react-hooks": "^
|
|
59
|
-
"eslint-plugin-react-refresh": "^0.
|
|
60
|
-
"eslint-plugin-regexp": "^
|
|
61
|
-
"eslint-plugin-simple-import-sort": "^
|
|
62
|
-
"eslint-plugin-tailwindcss": "^3.18.
|
|
63
|
-
"eslint-plugin-
|
|
64
|
-
"eslint-plugin-
|
|
65
|
-
"eslint-plugin-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"@aiou/eslint-plugin-progress": "0.
|
|
57
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
58
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
59
|
+
"eslint-plugin-regexp": "^3.1.0",
|
|
60
|
+
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
61
|
+
"eslint-plugin-tailwindcss": "^3.18.3",
|
|
62
|
+
"eslint-plugin-toml": "^1.3.1",
|
|
63
|
+
"eslint-plugin-unicorn": "^64.0.0",
|
|
64
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
65
|
+
"eslint-plugin-yml": "^3.3.1",
|
|
66
|
+
"globals": "^17.5.0",
|
|
67
|
+
"jsonc-eslint-parser": "^3.1.0",
|
|
68
|
+
"local-pkg": "^1.1.2",
|
|
69
|
+
"yaml-eslint-parser": "^2.0.0",
|
|
70
|
+
"@aiou/eslint-plugin-progress": "0.4.0",
|
|
71
|
+
"@aiou/eslint-ignore": "0.6.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@rollup/plugin-alias": "4.0.3",
|
|
@@ -77,8 +77,7 @@
|
|
|
77
77
|
"@rollup/plugin-node-resolve": "15.0.1",
|
|
78
78
|
"@types/lodash-es": "^4.17.10",
|
|
79
79
|
"@types/node": "^20.8.7",
|
|
80
|
-
"eslint": "^
|
|
81
|
-
"eslint-config-standard": "17.1.0",
|
|
80
|
+
"eslint": "^10.2.1",
|
|
82
81
|
"eslint-typegen": "^2.3.0",
|
|
83
82
|
"lodash-es": "^4.17.21",
|
|
84
83
|
"publish-police": "^0.2.1",
|
package/{README.md → readme.md}
RENAMED
|
@@ -26,12 +26,12 @@ npm install @aiou/eslint-config --save-dev
|
|
|
26
26
|
|
|
27
27
|
## usage
|
|
28
28
|
|
|
29
|
-
in `eslint.config.
|
|
29
|
+
in `eslint.config.mjs`
|
|
30
30
|
|
|
31
31
|
```js
|
|
32
|
-
|
|
32
|
+
import { aiou } from '@aiou/eslint-config'
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
export default await aiou()
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### options
|