@cto.af/eslint-config 5.1.6 → 5.1.8

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/js.js CHANGED
@@ -17,9 +17,14 @@ export default [{
17
17
  redos,
18
18
  },
19
19
  languageOptions: {
20
- globals: globals.node,
21
20
  ecmaVersion: 2022,
21
+ globals: globals.node,
22
22
  sourceType: 'commonjs',
23
23
  },
24
+ linterOptions: {
25
+ noInlineConfig: false,
26
+ reportUnusedDisableDirectives: 'error',
27
+ reportUnusedInlineConfigs: 'error',
28
+ },
24
29
  rules,
25
30
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cto.af/eslint-config",
3
- "version": "5.1.6",
3
+ "version": "5.1.8",
4
4
  "description": "hildjj's lint rules",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -14,13 +14,13 @@
14
14
  "url": "git+https://github.com/cto-af/eslint-config.git"
15
15
  },
16
16
  "dependencies": {
17
- "@eslint/json": "0.9.1",
18
- "@stylistic/eslint-plugin": "2.13.0",
17
+ "@eslint/json": "0.10.0",
18
+ "@stylistic/eslint-plugin": "3.0.1",
19
19
  "eslint-plugin-n": "17.15.1",
20
20
  "eslint-plugin-redos": "4.4.5",
21
21
  "globals": "15.14.0"
22
22
  },
23
- "packageManager": "pnpm@9.15.4",
23
+ "packageManager": "pnpm@10.2.1",
24
24
  "engines": {
25
25
  "node": ">=18"
26
26
  }
package/rules/js.js CHANGED
@@ -356,7 +356,9 @@ export const rules = {
356
356
  'n/no-unpublished-require': 'off', // Doesn't work
357
357
  'n/no-unsupported-features/es-builtins': 'error',
358
358
  'n/no-unsupported-features/es-syntax': 'error',
359
- 'n/no-unsupported-features/node-builtins': 'error',
359
+ 'n/no-unsupported-features/node-builtins': ['error', {
360
+ allowExperimental: true,
361
+ }],
360
362
  'n/process-exit-as-throw': 'error',
361
363
 
362
364
  // [Best Practices](https://github.com/eslint-community/eslint-plugin-n#best-practices)
package/rules/json.js CHANGED
@@ -4,5 +4,6 @@ export const rules = {
4
4
  'json/no-empty-keys': 'error',
5
5
  'json/no-unnormalized-keys': ['error', {form: 'NFD'}],
6
6
  'json/no-unsafe-values': 'error',
7
+ 'json/sort-keys': 'off',
7
8
  'json/top-level-interop': 'off',
8
9
  };