eslint-config-decent 2.2.0 → 2.2.1

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/dist/index.cjs CHANGED
@@ -491,7 +491,6 @@ const base$7 = {
491
491
  }
492
492
  },
493
493
  plugins: {
494
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
495
494
  jsdoc: jsdoc__default
496
495
  },
497
496
  rules: {
package/dist/index.mjs CHANGED
@@ -470,7 +470,6 @@ const base$7 = {
470
470
  }
471
471
  },
472
472
  plugins: {
473
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
474
473
  jsdoc
475
474
  },
476
475
  rules: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-decent",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "A decent ESLint configuration",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -73,36 +73,36 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "@eslint/compat": "1.1.1",
76
- "@eslint/js": "9.9.1",
77
- "@typescript-eslint/utils": "8.3.0",
76
+ "@eslint/js": "9.10.0",
77
+ "@typescript-eslint/utils": "8.5.0",
78
78
  "eslint-config-prettier": "9.1.0",
79
- "eslint-plugin-import-x": "3.1.0",
80
- "eslint-plugin-jest": "28.8.0",
79
+ "eslint-plugin-import-x": "4.2.1",
80
+ "eslint-plugin-jest": "28.8.3",
81
81
  "eslint-plugin-jest-dom": "5.4.0",
82
82
  "eslint-plugin-jsdoc": "50.2.2",
83
- "eslint-plugin-jsx-a11y": "6.9.0",
83
+ "eslint-plugin-jsx-a11y": "6.10.0",
84
84
  "eslint-plugin-mocha": "10.5.0",
85
85
  "eslint-plugin-prettier": "5.2.1",
86
86
  "eslint-plugin-promise": "7.1.0",
87
- "eslint-plugin-react": "7.35.0",
87
+ "eslint-plugin-react": "7.35.2",
88
88
  "eslint-plugin-react-hooks": "4.6.2",
89
89
  "eslint-plugin-security": "3.0.1",
90
90
  "eslint-plugin-testing-library": "6.3.0",
91
91
  "eslint-plugin-unicorn": "55.0.0",
92
92
  "globals": "15.9.0",
93
- "typescript-eslint": "8.3.0"
93
+ "typescript-eslint": "8.5.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@swc/core": "^1.7.18",
96
+ "@swc/core": "^1.7.24",
97
97
  "@types/node": ">=22",
98
- "eslint": "^9.9.1",
98
+ "eslint": "^9.10.0",
99
99
  "husky": "^9.1.5",
100
- "lint-staged": "^15.2.9",
100
+ "lint-staged": "^15.2.10",
101
101
  "markdownlint-cli": "^0.41.0",
102
102
  "npm-run-all": "^4.1.5",
103
103
  "pinst": "^3.0.0",
104
104
  "prettier": "^3.3.3",
105
- "typescript": "^5.5.4",
105
+ "typescript": "^5.6.2",
106
106
  "unbuild": "2.0.0"
107
107
  },
108
108
  "overrides": {
package/src/index.ts CHANGED
@@ -71,7 +71,6 @@ export function tsEslintConfig(options?: DefaultConfigOptions): ConfigWithExtend
71
71
  },
72
72
  };
73
73
 
74
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
75
74
  return [
76
75
  {
77
76
  ignores: ['**/dist/**', '**/node_modules/**'],
package/src/jsdoc.ts CHANGED
@@ -14,7 +14,6 @@ const base: TSESLint.FlatConfig.Config = {
14
14
  },
15
15
  },
16
16
  plugins: {
17
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
18
17
  jsdoc,
19
18
  },
20
19
  rules: {
package/src/react.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import type { FixupPluginDefinition } from '@eslint/compat';
1
2
  import { fixupPluginRules } from '@eslint/compat';
2
3
  import type { TSESLint } from '@typescript-eslint/utils';
3
4
  import a11y from 'eslint-plugin-jsx-a11y';
@@ -16,7 +17,7 @@ const base: TSESLint.FlatConfig.Config = {
16
17
  plugins: {
17
18
  'jsx-a11y': a11y,
18
19
  react,
19
- 'react-hooks': fixupPluginRules(reactHooks) as typeof reactHooks,
20
+ 'react-hooks': fixupPluginRules(reactHooks as FixupPluginDefinition) as typeof reactHooks,
20
21
  },
21
22
  rules: {
22
23
  ...a11y.configs.recommended.rules,
@@ -1,10 +1,11 @@
1
+ import type { FixupPluginDefinition } from '@eslint/compat';
1
2
  import { fixupPluginRules } from '@eslint/compat';
2
3
  import type { TSESLint } from '@typescript-eslint/utils';
3
4
  import testingLibrary from 'eslint-plugin-testing-library';
4
5
 
5
6
  const base: TSESLint.FlatConfig.Config = {
6
7
  plugins: {
7
- 'testing-library': fixupPluginRules(testingLibrary) as typeof testingLibrary,
8
+ 'testing-library': fixupPluginRules(testingLibrary as FixupPluginDefinition) as typeof testingLibrary,
8
9
  },
9
10
  rules: {
10
11
  ...testingLibrary.configs['flat/react'].rules,