@enormora/eslint-config-base 0.0.9 → 0.0.11
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/base.js +4 -4
- package/package.json +6 -6
- package/rule-sets/best-practices.js +1 -0
package/base.js
CHANGED
|
@@ -345,7 +345,7 @@ export const baseConfig = {
|
|
|
345
345
|
'import/prefer-default-export': 'off',
|
|
346
346
|
'import/newline-after-import': 'error',
|
|
347
347
|
'import/no-nodejs-modules': 'off',
|
|
348
|
-
'import/max-dependencies': ['error', { max:
|
|
348
|
+
'import/max-dependencies': ['error', { max: 10 }],
|
|
349
349
|
'import/first': 'error',
|
|
350
350
|
'import/no-unused-modules': 'error',
|
|
351
351
|
'import/no-anonymous-default-export': 'off',
|
|
@@ -362,9 +362,9 @@ export const baseConfig = {
|
|
|
362
362
|
'import/extensions': [
|
|
363
363
|
'error',
|
|
364
364
|
{
|
|
365
|
-
js: '
|
|
366
|
-
jsx: '
|
|
367
|
-
json: '
|
|
365
|
+
js: 'ignorePackages',
|
|
366
|
+
jsx: 'ignorePackages',
|
|
367
|
+
json: 'ignorePackages'
|
|
368
368
|
}
|
|
369
369
|
],
|
|
370
370
|
'import/namespace': [
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@cspell/eslint-plugin": "8.
|
|
4
|
-
"@stylistic/eslint-plugin": "1.5.
|
|
3
|
+
"@cspell/eslint-plugin": "8.3.2",
|
|
4
|
+
"@stylistic/eslint-plugin": "1.5.4",
|
|
5
5
|
"eslint-plugin-array-func": "4.0.0",
|
|
6
6
|
"eslint-plugin-destructuring": "2.2.1",
|
|
7
7
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
8
|
-
"eslint-plugin-import": "2.29.
|
|
8
|
+
"eslint-plugin-import": "2.29.1",
|
|
9
9
|
"eslint-plugin-no-secrets": "0.8.9",
|
|
10
|
-
"eslint-plugin-prettier": "5.
|
|
10
|
+
"eslint-plugin-prettier": "5.1.3",
|
|
11
11
|
"eslint-plugin-promise": "6.1.1",
|
|
12
12
|
"eslint-plugin-sonarjs": "0.23.0",
|
|
13
|
-
"eslint-plugin-unicorn": "
|
|
13
|
+
"eslint-plugin-unicorn": "50.0.1"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"main": "base.js",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"url": "git://github.com/enormora/eslint-config.git"
|
|
21
21
|
},
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "0.0.
|
|
23
|
+
"version": "0.0.11"
|
|
24
24
|
}
|
|
@@ -123,6 +123,7 @@ export const bestPracticesRuleSet = {
|
|
|
123
123
|
'unicorn/prefer-blob-reading-methods': 'error',
|
|
124
124
|
'unicorn/prefer-top-level-await': 'off',
|
|
125
125
|
'unicorn/prefer-at': 'error',
|
|
126
|
+
'unicorn/no-unnecessary-polyfills': 'off',
|
|
126
127
|
|
|
127
128
|
'array-func/from-map': 'error',
|
|
128
129
|
'array-func/no-unnecessary-this-arg': 'error',
|