@nice-move/eslint-config-base 0.11.26 → 0.11.27
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/lib/mini.cjs +1 -29
- package/lib/typescript.cjs +0 -20
- package/package.json +7 -7
package/lib/mini.cjs
CHANGED
|
@@ -102,6 +102,7 @@ function generate({
|
|
|
102
102
|
files: excludedFiles,
|
|
103
103
|
env: {
|
|
104
104
|
browser: false,
|
|
105
|
+
es2023: false,
|
|
105
106
|
es2022: false,
|
|
106
107
|
es2021: false,
|
|
107
108
|
es2020: false,
|
|
@@ -185,35 +186,6 @@ function generate({
|
|
|
185
186
|
],
|
|
186
187
|
},
|
|
187
188
|
},
|
|
188
|
-
{
|
|
189
|
-
files: '*.js',
|
|
190
|
-
rules: {
|
|
191
|
-
'n/file-extension-in-import': [
|
|
192
|
-
'error',
|
|
193
|
-
'always',
|
|
194
|
-
{
|
|
195
|
-
'.ts': 'never',
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
'import/extensions': [
|
|
199
|
-
'error',
|
|
200
|
-
'always',
|
|
201
|
-
{
|
|
202
|
-
ignorePackages: true,
|
|
203
|
-
pattern: {
|
|
204
|
-
ts: 'never',
|
|
205
|
-
},
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
},
|
|
209
|
-
settings: {
|
|
210
|
-
'import/resolver': {
|
|
211
|
-
node: {
|
|
212
|
-
extensions: ['.ts'],
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
},
|
|
216
|
-
},
|
|
217
189
|
].filter(Boolean);
|
|
218
190
|
}
|
|
219
191
|
|
package/lib/typescript.cjs
CHANGED
|
@@ -45,26 +45,6 @@ module.exports = {
|
|
|
45
45
|
varsIgnorePattern: '^_+$',
|
|
46
46
|
},
|
|
47
47
|
],
|
|
48
|
-
'import/extensions': [
|
|
49
|
-
'error',
|
|
50
|
-
'always',
|
|
51
|
-
{
|
|
52
|
-
ignorePackages: true,
|
|
53
|
-
pattern: {
|
|
54
|
-
ts: 'never',
|
|
55
|
-
mts: 'never',
|
|
56
|
-
cts: 'never',
|
|
57
|
-
tsx: 'never',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
},
|
|
62
|
-
settings: {
|
|
63
|
-
'import/resolver': {
|
|
64
|
-
node: {
|
|
65
|
-
extensions: ['.ts', '.cts', '.mts', '.tsx'],
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
48
|
},
|
|
69
49
|
},
|
|
70
50
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-move/eslint-config-base",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.27",
|
|
4
4
|
"description": "A `eslint` config for best practice",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
},
|
|
35
35
|
"main": "index.cjs",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@babel/core": "^7.
|
|
38
|
-
"@babel/eslint-parser": "^7.25.
|
|
39
|
-
"@babel/plugin-syntax-import-attributes": "^7.
|
|
40
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.
|
|
37
|
+
"@babel/core": "^7.26.0",
|
|
38
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
39
|
+
"@babel/plugin-syntax-import-attributes": "^7.26.0",
|
|
40
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
41
41
|
"@nice-move/eslint-plugin-html": "0.0.0-beta.4",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
43
|
-
"@typescript-eslint/parser": "^8.
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.12.1",
|
|
43
|
+
"@typescript-eslint/parser": "^8.12.1",
|
|
44
44
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
45
45
|
"eslint-config-prettier": "^9.1.0",
|
|
46
46
|
"eslint-plugin-import": "^2.31.0",
|