eslint-config-entva 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -14
- package/package.json +2 -2
package/index.js
CHANGED
@@ -8,18 +8,7 @@ import globals from 'globals';
|
|
8
8
|
export default [
|
9
9
|
...baseConfig,
|
10
10
|
{
|
11
|
-
files: [
|
12
|
-
'**/*.test.jsx',
|
13
|
-
'**/*.spec.jsx',
|
14
|
-
],
|
15
|
-
languageOptions: {
|
16
|
-
globals: {
|
17
|
-
...globals.jest,
|
18
|
-
},
|
19
|
-
},
|
20
|
-
},
|
21
|
-
{
|
22
|
-
files: ['**/*.{js,mjs,cjs,jsx}'],
|
11
|
+
files: ['**/*.jsx'],
|
23
12
|
plugins: {
|
24
13
|
react,
|
25
14
|
'jsx-a11y': jsxA11Y,
|
@@ -48,11 +37,11 @@ export default [
|
|
48
37
|
settings: {
|
49
38
|
'import/resolver': {
|
50
39
|
node: {
|
51
|
-
extensions: ['.
|
40
|
+
extensions: ['.js', '.mjs', '.cjs', '.jsx', '.json'],
|
52
41
|
},
|
53
42
|
},
|
54
43
|
|
55
|
-
'import/extensions': ['.
|
44
|
+
'import/extensions': ['.js', '.mjs', '.cjs', '.jsx', '.json'],
|
56
45
|
'import/core-modules': [],
|
57
46
|
'import/ignore': ['node_modules', '\\.(coffee|scss|css|less|hbs|svg|json)$'],
|
58
47
|
|
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.8.0",
|
13
13
|
"keywords": [
|
14
14
|
"linter",
|
15
15
|
"config",
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"react": "^19.0.0"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"eslint-config-entva-base": "^2.
|
32
|
+
"eslint-config-entva-base": "^2.8.0",
|
33
33
|
"eslint-plugin-import": "^2.31.0",
|
34
34
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
35
35
|
"eslint-plugin-react": "^7.37.2",
|