@repodog/eslint-config 9.0.29 → 9.0.32

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.mjs +17 -3
  2. package/package.json +9 -9
package/index.mjs CHANGED
@@ -38,7 +38,12 @@ export default tsEslint.config(
38
38
  ],
39
39
  },
40
40
  {
41
- extends: [eslint.configs.recommended, importX.flatConfigs.recommended, unicorn.configs.recommended],
41
+ extends: [
42
+ stylistic.configs.recommended,
43
+ eslint.configs.recommended,
44
+ importX.flatConfigs.recommended,
45
+ unicorn.configs.recommended,
46
+ ],
42
47
  files: ['**/*.{mjs,cjs,js,jsx,ts,tsx}'],
43
48
  languageOptions: {
44
49
  ecmaVersion: 'latest',
@@ -52,10 +57,9 @@ export default tsEslint.config(
52
57
  sourceType: 'module',
53
58
  },
54
59
  plugins: {
55
- '@stylistic': stylistic,
56
60
  'eslint-comments': fixupPluginRules(eslintComments),
57
61
  'prefer-arrow': fixupPluginRules(preferArrow),
58
- 'sort-destructure-keys': fixupPluginRules(sortDestructureKeys),
62
+ 'sort-destructure-keys': sortDestructureKeys,
59
63
  'sort-keys-fix': fixupPluginRules(sortKeysFix),
60
64
  },
61
65
  rules: {
@@ -166,6 +170,14 @@ export default tsEslint.config(
166
170
  'sort-keys': 0,
167
171
  'sort-keys-fix/sort-keys-fix': [2, 'asc', { caseSensitive: true, natural: true }],
168
172
  'sort-vars': [2, { ignoreCase: false }],
173
+ 'unicorn/consistent-boolean-name': [
174
+ 'error',
175
+ {
176
+ prefixes: {
177
+ to: true,
178
+ },
179
+ },
180
+ ],
169
181
  'unicorn/consistent-function-scoping': [2, { checkArrowFunctions: false }],
170
182
  'unicorn/filename-case': [
171
183
  2,
@@ -179,7 +191,9 @@ export default tsEslint.config(
179
191
  },
180
192
  ],
181
193
  'unicorn/import-style': 0,
194
+ 'unicorn/name-replacements': 0,
182
195
  'unicorn/no-array-reduce': 0,
196
+ 'unicorn/no-top-level-assignment-in-function': 0,
183
197
  'unicorn/prevent-abbreviations': 0,
184
198
  },
185
199
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@repodog/eslint-config",
3
3
  "description": "The Repodog ESLint config module.",
4
- "version": "9.0.29",
4
+ "version": "9.0.32",
5
5
  "author": "miami-man",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/repodog",
@@ -23,27 +23,27 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@eslint/compat": "^2.1.0",
26
- "@eslint/js": "^9.39.4",
26
+ "@eslint/js": "^10.0.1",
27
27
  "@stylistic/eslint-plugin": "^5.10.0",
28
28
  "eslint-config-prettier": "^10.1.8",
29
29
  "eslint-import-resolver-typescript": "^4.4.5",
30
30
  "eslint-plugin-eslint-comments": "^3.2.0",
31
- "eslint-plugin-import-x": "^4.17.0",
31
+ "eslint-plugin-import-x": "^4.17.1",
32
32
  "eslint-plugin-prefer-arrow": "^1.2.3",
33
- "eslint-plugin-sort-destructure-keys": "^2.0.0",
33
+ "eslint-plugin-sort-destructure-keys": "^3.0.0",
34
34
  "eslint-plugin-sort-keys-fix": "^1.1.2",
35
35
  "eslint-plugin-typescript-sort-keys": "^3.3.0",
36
- "eslint-plugin-unicorn": "^66.0.0",
37
- "globals": "^17.7.0",
38
- "typescript-eslint": "^8.62.0"
36
+ "eslint-plugin-unicorn": "^72.0.0",
37
+ "globals": "^17.8.0",
38
+ "typescript-eslint": "^8.65.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "eslint": "<10",
41
+ "eslint": "<11",
42
42
  "typescript": "<7"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/eslint__js": "^9.14.0",
46
- "eslint": "^9.39.4",
46
+ "eslint": "^10.8.0",
47
47
  "typescript": "^6.0.3"
48
48
  }
49
49
  }