@exbotanical/eslint-config 1.1.4 → 2.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.d.ts +290 -20
- package/dist/index.js +1981 -2426
- package/package.json +39 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exbotanical/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Zito's eslint config",
|
|
7
7
|
"author": "Matthew Zito <exbotanical@protonmail.com> (https://github.com/exbotanical/)",
|
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "npm run typegen && tsup --clean --dts",
|
|
27
|
-
"lint": "eslint .",
|
|
28
|
-
"lint:fix": "npm run lint -- --fix",
|
|
29
27
|
"dev": "npx @eslint/config-inspector --config eslint.config.ts",
|
|
28
|
+
"lint": "eslint --cache",
|
|
29
|
+
"lint:fix": "npm run lint -- --fix",
|
|
30
|
+
"fmt": "prettier --cache --write \"**/*.{js,jsx,ts,tsx,md,json}\"",
|
|
30
31
|
"typegen": "tsx scripts/typegen.ts",
|
|
31
32
|
"pretest": "npm run build",
|
|
32
33
|
"test": "vitest --run",
|
|
@@ -38,9 +39,13 @@
|
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
41
|
"@eslint-react/eslint-plugin": "^1.30.1",
|
|
42
|
+
"@eslint/css": "^2.0.0",
|
|
41
43
|
"@graphql-eslint/eslint-plugin": "^4.3.0",
|
|
42
|
-
"
|
|
43
|
-
"eslint": "^
|
|
44
|
+
"eslint": "^9.38.0",
|
|
45
|
+
"eslint-plugin-cypress": "^4.2.0",
|
|
46
|
+
"eslint-plugin-github-action": "^0.4.0",
|
|
47
|
+
"eslint-plugin-json-schema-validator": "^6.3.1",
|
|
48
|
+
"eslint-plugin-package-json": "^1.10.0",
|
|
44
49
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
45
50
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
46
51
|
"eslint-plugin-tap": "^1.2.1",
|
|
@@ -52,10 +57,22 @@
|
|
|
52
57
|
"@eslint-react/eslint-plugin": {
|
|
53
58
|
"optional": true
|
|
54
59
|
},
|
|
60
|
+
"@eslint/css": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
55
63
|
"@graphql-eslint/eslint-plugin": {
|
|
56
64
|
"optional": true
|
|
57
65
|
},
|
|
58
|
-
"
|
|
66
|
+
"eslint-plugin-cypress": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"eslint-plugin-github-action": {
|
|
70
|
+
"optional": true
|
|
71
|
+
},
|
|
72
|
+
"eslint-plugin-json-schema-validator": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"eslint-plugin-package-json": {
|
|
59
76
|
"optional": true
|
|
60
77
|
},
|
|
61
78
|
"eslint-plugin-react-hooks": {
|
|
@@ -79,42 +96,44 @@
|
|
|
79
96
|
},
|
|
80
97
|
"dependencies": {
|
|
81
98
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
82
|
-
"@eslint/markdown": "^
|
|
83
|
-
"@prettier/plugin-xml": "^3.4.1",
|
|
99
|
+
"@eslint/markdown": "^8.0.3",
|
|
84
100
|
"@typescript-eslint/eslint-plugin": "^8.25.0",
|
|
85
101
|
"@typescript-eslint/parser": "^8.26.0",
|
|
86
102
|
"@vitest/eslint-plugin": "^1.1.36",
|
|
87
103
|
"eslint-config-prettier": "^10.0.2",
|
|
88
104
|
"eslint-plugin-import": "^2.31.0",
|
|
89
105
|
"eslint-plugin-jsdoc": "^50.6.3",
|
|
90
|
-
"eslint-plugin-jsonc": "^
|
|
106
|
+
"eslint-plugin-jsonc": "^3.4.2",
|
|
91
107
|
"eslint-plugin-n": "^17.16.1",
|
|
92
108
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
93
109
|
"eslint-plugin-perfectionist": "^4.9.0",
|
|
94
110
|
"eslint-plugin-regexp": "^2.7.0",
|
|
95
|
-
"eslint-plugin-toml": "^
|
|
111
|
+
"eslint-plugin-toml": "^1.5.0",
|
|
96
112
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
97
113
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
98
|
-
"eslint-plugin-yml": "^
|
|
114
|
+
"eslint-plugin-yml": "^3.8.1",
|
|
99
115
|
"eslint-typegen": "^2.0.0",
|
|
100
116
|
"globals": "^16.0.0",
|
|
101
|
-
"jsonc-eslint-parser": "^
|
|
117
|
+
"jsonc-eslint-parser": "^3.3.0",
|
|
102
118
|
"local-pkg": "^1.1.1",
|
|
103
|
-
"toml-eslint-parser": "^0.
|
|
104
|
-
"yaml-eslint-parser": "^1.
|
|
119
|
+
"toml-eslint-parser": "^1.0.3",
|
|
120
|
+
"yaml-eslint-parser": "^2.1.0"
|
|
105
121
|
},
|
|
106
122
|
"devDependencies": {
|
|
107
123
|
"@eslint-react/eslint-plugin": "^1.31.0",
|
|
124
|
+
"@eslint/css": "^2.0.0",
|
|
108
125
|
"@exbotanical/prettier-config": "^1.0.1",
|
|
109
126
|
"@graphql-eslint/eslint-plugin": "^4.3.0",
|
|
110
|
-
"@prettier/plugin-xml": "^3.4.1",
|
|
111
127
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
112
128
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
113
129
|
"@types/node": "^22.13.8",
|
|
114
130
|
"bumpp": "^10.0.3",
|
|
115
|
-
"eslint": "^9.
|
|
131
|
+
"eslint": "^9.39.5",
|
|
116
132
|
"eslint-plugin-cypress": "^4.2.0",
|
|
133
|
+
"eslint-plugin-github-action": "^0.4.0",
|
|
117
134
|
"eslint-plugin-jest": "^28.11.0",
|
|
135
|
+
"eslint-plugin-json-schema-validator": "^6.3.1",
|
|
136
|
+
"eslint-plugin-package-json": "^1.10.0",
|
|
118
137
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
119
138
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
120
139
|
"eslint-plugin-tap": "^1.2.1",
|
|
@@ -133,6 +152,9 @@
|
|
|
133
152
|
"pre-commit": "npx lint-staged"
|
|
134
153
|
},
|
|
135
154
|
"lint-staged": {
|
|
136
|
-
"
|
|
155
|
+
"*/**/*.{js,jsx,ts,tsx,md,json}": [
|
|
156
|
+
"npm run fmt",
|
|
157
|
+
"npm run lint:fix"
|
|
158
|
+
]
|
|
137
159
|
}
|
|
138
160
|
}
|