@lvce-editor/eslint-config 9.0.0 → 9.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.
Files changed (2) hide show
  1. package/index.js +12 -1
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -301,6 +301,18 @@ const defaultConfig = tseslint.config(
301
301
  'unicorn/no-nested-ternary': 'off',
302
302
  },
303
303
  },
304
+ {
305
+ files: ['**/*.ts'],
306
+ rules: {
307
+ 'sonarjs/no-exclusive-tests': 'off',
308
+ 'sonarjs/no-unused-vars': 'off',
309
+ 'sonarjs/no-skipped-tests': 'off',
310
+ 'sonarjs/todo-tag': 'off',
311
+ 'sonarjs/pseudo-random': 'off',
312
+ 'sonarjs/no-invariant-returns': 'off',
313
+ 'sonarjs/no-small-switch': 'off',
314
+ },
315
+ },
304
316
  {
305
317
  files: ['**/*.test.ts'],
306
318
  extends: [pluginJest.configs['flat/recommended']],
@@ -310,7 +322,6 @@ const defaultConfig = tseslint.config(
310
322
  },
311
323
  },
312
324
  rules: {
313
- 'sonarjs/no-exclusive-tests': 'off',
314
325
  'unicorn/consistent-function-scoping': 'off',
315
326
  '@typescript-eslint/only-throw-error': 'off',
316
327
  '@typescript-eslint/prefer-promise-reject-errors': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-config",
3
- "version": "9.0.0",
3
+ "version": "9.1.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
@@ -33,10 +33,10 @@
33
33
  "eslint-plugin-unicorn": "64.0.0",
34
34
  "eslint-plugin-yml": "3.3.1",
35
35
  "typescript-eslint": "8.59.1",
36
- "@lvce-editor/eslint-plugin-tsconfig": "9.0.0",
37
- "@lvce-editor/eslint-plugin-github-actions": "9.0.0",
38
- "@lvce-editor/eslint-plugin-regex": "9.0.0",
39
- "@lvce-editor/eslint-plugin-rpc": "9.0.0"
36
+ "@lvce-editor/eslint-plugin-tsconfig": "9.1.0",
37
+ "@lvce-editor/eslint-plugin-github-actions": "9.1.0",
38
+ "@lvce-editor/eslint-plugin-regex": "9.1.0",
39
+ "@lvce-editor/eslint-plugin-rpc": "9.1.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "eslint": "^10"