@repodog/eslint-config 9.0.26 → 9.0.27

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 +6 -8
  2. package/package.json +14 -18
package/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import { fixupPluginRules } from '@eslint/compat';
2
2
  import eslint from '@eslint/js';
3
3
  import stylistic from '@stylistic/eslint-plugin';
4
+ import eslintPrettier from 'eslint-config-prettier/flat';
4
5
  import eslintComments from 'eslint-plugin-eslint-comments';
5
6
  import { importX } from 'eslint-plugin-import-x';
6
7
  import preferArrow from 'eslint-plugin-prefer-arrow';
7
- import prettierRecommended from 'eslint-plugin-prettier/recommended';
8
8
  import sortClassMembers from 'eslint-plugin-sort-class-members';
9
9
  import sortDestructureKeys from 'eslint-plugin-sort-destructure-keys';
10
10
  import sortKeysFix from 'eslint-plugin-sort-keys-fix';
@@ -16,7 +16,7 @@ import tsEslint from 'typescript-eslint';
16
16
  const cwd = process.cwd();
17
17
  const project = './tsconfig.json';
18
18
 
19
- // eslint convention is to export default
19
+ // ESLint convention is to export default
20
20
  // eslint-disable-next-line import-x/no-default-export
21
21
  export default tsEslint.config(
22
22
  {
@@ -39,7 +39,7 @@ export default tsEslint.config(
39
39
  ],
40
40
  },
41
41
  {
42
- extends: [eslint.configs.recommended, importX.flatConfigs.recommended, unicorn.configs['flat/recommended']],
42
+ extends: [eslint.configs.recommended, importX.flatConfigs.recommended, unicorn.configs.recommended],
43
43
  files: ['**/*.{mjs,cjs,js,jsx,ts,tsx}'],
44
44
  languageOptions: {
45
45
  ecmaVersion: 'latest',
@@ -116,7 +116,7 @@ export default tsEslint.config(
116
116
  'eslint-comments/no-unused-enable': 2,
117
117
  'import-x/extensions': [2, 'ignorePackages'],
118
118
  'import-x/namespace': 0,
119
- // This rule doesn't work on typescript files currently.
119
+ // This rule doesn't work on TypeScript files currently.
120
120
  // https://github.com/un-ts/eslint-plugin-import-x/issues/144
121
121
  'import-x/no-default-export': 2,
122
122
  'import-x/no-extraneous-dependencies': [
@@ -213,6 +213,7 @@ export default tsEslint.config(
213
213
  camelCase: true,
214
214
  pascalCase: true,
215
215
  },
216
+ checkDirectories: false,
216
217
  ignore: ['^module-defs.d.ts$', '^next-env.d.ts$'],
217
218
  },
218
219
  ],
@@ -312,10 +313,6 @@ export default tsEslint.config(
312
313
  'no-shadow': 2,
313
314
  },
314
315
  },
315
- {
316
- extends: [prettierRecommended],
317
- files: ['**/*.{mjs,cjs,js,jsx,ts,tsx}'],
318
- },
319
316
  {
320
317
  files: ['**/*.{spec,test}.*', '**/__testUtils__/**'],
321
318
  plugins: {
@@ -330,4 +327,5 @@ export default tsEslint.config(
330
327
  '@typescript-eslint/no-non-null-assertion': 0,
331
328
  },
332
329
  },
330
+ eslintPrettier,
333
331
  );
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.26",
4
+ "version": "9.0.27",
5
5
  "author": "miami-man",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/repodog",
@@ -22,33 +22,29 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@eslint/compat": "^1.3.2",
26
- "@eslint/eslintrc": "^3.3.1",
27
- "@eslint/js": "^9.33.0",
28
- "@stylistic/eslint-plugin": "^5.9.0",
25
+ "@eslint/compat": "^2.1.0",
26
+ "@eslint/js": "^9.39.4",
27
+ "@stylistic/eslint-plugin": "^5.10.0",
29
28
  "eslint-config-prettier": "^10.1.8",
30
- "eslint-import-resolver-typescript": "^4.4.4",
29
+ "eslint-import-resolver-typescript": "^4.4.5",
31
30
  "eslint-plugin-eslint-comments": "^3.2.0",
32
- "eslint-plugin-import-x": "^4.16.1",
31
+ "eslint-plugin-import-x": "^4.16.2",
33
32
  "eslint-plugin-prefer-arrow": "^1.2.3",
34
- "eslint-plugin-prettier": "^5.5.4",
35
- "eslint-plugin-sort-class-members": "^1.21.0",
33
+ "eslint-plugin-sort-class-members": "^1.22.1",
36
34
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
37
35
  "eslint-plugin-sort-keys-fix": "^1.1.2",
38
36
  "eslint-plugin-typescript-sort-keys": "^3.3.0",
39
- "eslint-plugin-unicorn": "^60.0.0",
40
- "globals": "^16.3.0",
41
- "typescript-eslint": "^8.39.0"
37
+ "eslint-plugin-unicorn": "^66.0.0",
38
+ "globals": "^17.6.0",
39
+ "typescript-eslint": "^8.61.1"
42
40
  },
43
41
  "peerDependencies": {
44
42
  "eslint": "<10",
45
- "prettier": "<4",
46
- "typescript": "<6"
43
+ "typescript": "<7"
47
44
  },
48
45
  "devDependencies": {
49
- "@types/eslint__js": "^8.42.3",
50
- "eslint": "^9.33.0",
51
- "prettier": "^3.6.2",
52
- "typescript": "^5.9.2"
46
+ "@types/eslint__js": "^9.14.0",
47
+ "eslint": "^9.39.4",
48
+ "typescript": "^6.0.3"
53
49
  }
54
50
  }