eslint-config-entva-typescript-base 2.2.0 → 2.4.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/index.js +9 -3
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -20,6 +20,12 @@ export default [
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
files: ['**/*.{js,mjs,cjs,ts}'],
|
|
23
|
+
ignores: [
|
|
24
|
+
'**/node_modules/',
|
|
25
|
+
'**/public/',
|
|
26
|
+
'**/coverage/',
|
|
27
|
+
'**/.*',
|
|
28
|
+
],
|
|
23
29
|
plugins: {
|
|
24
30
|
import: importPlugin,
|
|
25
31
|
'@typescript-eslint': typescriptEslint,
|
|
@@ -113,7 +119,7 @@ export default [
|
|
|
113
119
|
after: true,
|
|
114
120
|
}],
|
|
115
121
|
|
|
116
|
-
'default-param-last': 'off',
|
|
122
|
+
'default-param-last': ['off'],
|
|
117
123
|
'@typescript-eslint/default-param-last': ['error'],
|
|
118
124
|
|
|
119
125
|
'@typescript-eslint/dot-notation': ['error', {
|
|
@@ -227,7 +233,7 @@ export default [
|
|
|
227
233
|
'@typescript-eslint/no-redeclare': ['error'],
|
|
228
234
|
'@stylistic/ts/space-before-blocks': ['error'],
|
|
229
235
|
|
|
230
|
-
'no-shadow': 'off',
|
|
236
|
+
'no-shadow': ['off'],
|
|
231
237
|
'@typescript-eslint/no-shadow': ['error'],
|
|
232
238
|
|
|
233
239
|
'@typescript-eslint/no-unused-expressions': ['error', {
|
|
@@ -237,7 +243,7 @@ export default [
|
|
|
237
243
|
enforceForJSX: false,
|
|
238
244
|
}],
|
|
239
245
|
|
|
240
|
-
'no-unused-vars': 'off',
|
|
246
|
+
'no-unused-vars': ['off'],
|
|
241
247
|
'@typescript-eslint/no-unused-vars': ['error', {
|
|
242
248
|
vars: 'all',
|
|
243
249
|
args: 'after-used',
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "https://github.com/entva/styleguide"
|
|
10
10
|
},
|
|
11
11
|
"bugs": "https://github.com/entva/styleguide/issues",
|
|
12
|
-
"version": "2.
|
|
12
|
+
"version": "2.4.0",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"linter",
|
|
15
15
|
"config",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"scripts": {
|
|
22
22
|
"reinstall": "rm -rf node_modules package-lock.json && npm install",
|
|
23
23
|
"test": "node ../../../test ./test js ts",
|
|
24
|
-
"rules": "node_modules/.bin/eslint --print-config file.
|
|
24
|
+
"rules": "node_modules/.bin/eslint --print-config file.ts > eslint-ruleset-output.json",
|
|
25
25
|
"prepublishOnly": "npm test"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@stylistic/eslint-plugin-ts": "^2.12.1",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
33
33
|
"@typescript-eslint/parser": "^8.18.0",
|
|
34
|
-
"eslint-config-entva-base": "^2.
|
|
34
|
+
"eslint-config-entva-base": "^2.4.0",
|
|
35
35
|
"eslint-plugin-import": "^2.31.0",
|
|
36
36
|
"globals": "^15.13.0"
|
|
37
37
|
},
|