eslint-config-entva 2.17.0 → 2.18.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.
Files changed (2) hide show
  1. package/index.js +4 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import baseConfig from 'eslint-config-entva-base';
1
+ import { ignoreRule, mainRule, testRule } from 'eslint-config-entva-base';
2
2
  import react from 'eslint-plugin-react';
3
3
  import jsxA11Y from 'eslint-plugin-jsx-a11y';
4
4
  import reactHooks from 'eslint-plugin-react-hooks';
@@ -6,7 +6,8 @@ import importPlugin from 'eslint-plugin-import';
6
6
  import globals from 'globals';
7
7
 
8
8
  export default [
9
- ...baseConfig,
9
+ ignoreRule,
10
+ mainRule,
10
11
  {
11
12
  files: ['**/*.{js,mjs,cjs,jsx}'],
12
13
  plugins: {
@@ -512,4 +513,5 @@ export default [
512
513
  'react/no-invalid-html-attribute': ['error'],
513
514
  },
514
515
  },
516
+ testRule,
515
517
  ];
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.17.0",
12
+ "version": "2.18.0",
13
13
  "keywords": [
14
14
  "linter",
15
15
  "config",
@@ -29,7 +29,7 @@
29
29
  "react": "^19.x.x"
30
30
  },
31
31
  "dependencies": {
32
- "eslint-config-entva-base": "^2.17.0",
32
+ "eslint-config-entva-base": "^2.18.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.3",