@enormora/eslint-config-base 0.0.25 → 0.0.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/package.json CHANGED
@@ -4,14 +4,15 @@
4
4
  "Christian Rackerseder <github@echooff.de>"
5
5
  ],
6
6
  "dependencies": {
7
- "@cspell/eslint-plugin": "9.2.1",
8
- "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
7
+ "@cspell/eslint-plugin": "9.6.1",
8
+ "@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
9
9
  "@stylistic/eslint-plugin": "5.4.0",
10
10
  "eslint-plugin-array-func": "5.1.0",
11
11
  "eslint-plugin-destructuring": "2.2.1",
12
12
  "eslint-plugin-import-x": "4.16.1",
13
+ "eslint-plugin-no-barrel-files": "1.2.2",
13
14
  "eslint-plugin-no-secrets": "2.2.1",
14
- "eslint-plugin-prettier": "5.5.4",
15
+ "eslint-plugin-prettier": "5.5.5",
15
16
  "eslint-plugin-promise": "7.2.1",
16
17
  "eslint-plugin-sonarjs": "1.0.4",
17
18
  "eslint-plugin-unicorn": "61.0.2"
@@ -25,5 +26,5 @@
25
26
  "url": "git://github.com/enormora/eslint-config.git"
26
27
  },
27
28
  "type": "module",
28
- "version": "0.0.25"
29
+ "version": "0.0.27"
29
30
  }
@@ -2,6 +2,7 @@ import unicornPlugin from 'eslint-plugin-unicorn';
2
2
  import promisePlugin from 'eslint-plugin-promise';
3
3
  import arrayFunctionPlugin from 'eslint-plugin-array-func';
4
4
  import sonarjsPlugin from 'eslint-plugin-sonarjs';
5
+ import noBarrelFiles from 'eslint-plugin-no-barrel-files';
5
6
 
6
7
  const maxSwitchCases = 6;
7
8
 
@@ -10,7 +11,8 @@ export const bestPracticesRuleSet = {
10
11
  unicorn: unicornPlugin,
11
12
  promise: promisePlugin,
12
13
  'array-func': arrayFunctionPlugin,
13
- sonarjs: sonarjsPlugin
14
+ sonarjs: sonarjsPlugin,
15
+ 'no-barrel-files': noBarrelFiles
14
16
  },
15
17
  settings: {},
16
18
  rules: {
@@ -214,6 +216,8 @@ export const bestPracticesRuleSet = {
214
216
  'promise/prefer-await-to-then': 'error',
215
217
  'promise/no-multiple-resolved': 'error',
216
218
  'promise/spec-only': 'error',
217
- 'promise/prefer-catch': 'error'
219
+ 'promise/prefer-catch': 'error',
220
+
221
+ 'no-barrel-files/no-barrel-files': 'error'
218
222
  }
219
223
  };