@lvce-editor/eslint-config 9.0.0 → 9.2.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 +16 -1
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -301,6 +301,22 @@ 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
+ 'sonarjs/no-all-duplicated-branches': 'off',
315
+ 'sonarjs/no-globals-shadowing': 'off',
316
+ 'sonarjs/slow-regex': 'off',
317
+ 'sonarjs/prefer-regexp-exec': 'off',
318
+ },
319
+ },
304
320
  {
305
321
  files: ['**/*.test.ts'],
306
322
  extends: [pluginJest.configs['flat/recommended']],
@@ -310,7 +326,6 @@ const defaultConfig = tseslint.config(
310
326
  },
311
327
  },
312
328
  rules: {
313
- 'sonarjs/no-exclusive-tests': 'off',
314
329
  'unicorn/consistent-function-scoping': 'off',
315
330
  '@typescript-eslint/only-throw-error': 'off',
316
331
  '@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.2.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.2.0",
37
+ "@lvce-editor/eslint-plugin-github-actions": "9.2.0",
38
+ "@lvce-editor/eslint-plugin-regex": "9.2.0",
39
+ "@lvce-editor/eslint-plugin-rpc": "9.2.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "eslint": "^10"