@bitfactory/eslint-config 6.0.1 → 6.1.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.flat.js CHANGED
@@ -29,6 +29,9 @@ export default [
29
29
  stylistic.configs['recommended-flat'],
30
30
  {
31
31
  files: ['**/*.{js,mjs}'],
32
+ linterOptions: {
33
+ reportUnusedDisableDirectives: true,
34
+ },
32
35
  languageOptions: {
33
36
  ecmaVersion: 2021,
34
37
  sourceType: 'module',
@@ -62,6 +65,9 @@ export default [
62
65
  // .cjs files must always be parsed as scripts
63
66
  {
64
67
  files: ['**/*.cjs'],
68
+ linterOptions: {
69
+ reportUnusedDisableDirectives: true,
70
+ },
65
71
  languageOptions: {
66
72
  ecmaVersion: 2021,
67
73
  sourceType: 'script',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitfactory/eslint-config",
3
- "version": "6.0.1",
3
+ "version": "6.1.0",
4
4
  "description": "ESLint sharable config for Bitfactory projects",
5
5
  "keywords": [
6
6
  "eslint",
@@ -7,6 +7,9 @@ export default [
7
7
  ...ts.configs['flat/recommended'],
8
8
  {
9
9
  files: ['**/*.ts', '**/*.tsx'],
10
+ linterOptions: {
11
+ reportUnusedDisableDirectives: true,
12
+ },
10
13
  languageOptions: {
11
14
  parser: tsParser,
12
15
  },
package/vue.flat.js CHANGED
@@ -11,6 +11,9 @@ export default [
11
11
  ...vueA11y.configs['flat/recommended'],
12
12
  {
13
13
  files: ['**/*.vue'],
14
+ linterOptions: {
15
+ reportUnusedDisableDirectives: true,
16
+ },
14
17
  languageOptions: {
15
18
  parser: vueParser,
16
19
  parserOptions: {