@w0s/eslint-config 8.4.0 → 8.6.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/eslint.config.js +8 -1
  2. package/package.json +8 -8
package/eslint.config.js CHANGED
@@ -1,4 +1,3 @@
1
- // @ts-expect-error: ts(7016)
2
1
  import pluginImport from 'eslint-plugin-import';
3
2
  import pluginJsdoc from 'eslint-plugin-jsdoc';
4
3
  import pluginSafelyStorage from 'eslint-plugin-safely-storage';
@@ -45,12 +44,20 @@ export default tseslint.config(
45
44
  parser: tseslint.parser,
46
45
  parserOptions: {
47
46
  project: true,
47
+ tsconfigRootDir: import.meta.dirname,
48
48
  },
49
49
  },
50
50
  extends: [...tseslint.configs.strictTypeChecked, ...tseslint.configs.stylisticTypeChecked],
51
51
  rules: {
52
52
  ...pluginJsdoc.configs['flat/recommended-typescript'].rules,
53
53
  'dot-notation': 'off',
54
+ 'import/extensions': [
55
+ 'error',
56
+ 'ignorePackages',
57
+ {
58
+ js: 'never',
59
+ },
60
+ ],
54
61
  'import/no-unresolved': 'off',
55
62
  '@typescript-eslint/no-extraneous-class': 'off',
56
63
  '@typescript-eslint/no-unused-vars': [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w0s/eslint-config",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "ESLint configuration file used on `w0s.jp`",
5
5
  "keywords": [
6
6
  "eslint",
@@ -25,16 +25,16 @@
25
25
  "lint": "eslint __tests__/valid/**/*.{js,ts} __tests__/*.test.js rules/**/*.js eslint.config.js"
26
26
  },
27
27
  "dependencies": {
28
- "@eslint/js": "^9.21.0",
29
- "eslint-plugin-import": "^2.31.0",
30
- "eslint-plugin-jsdoc": "^50.6.3",
28
+ "@eslint/js": "^9.34.0",
29
+ "eslint-plugin-import": "^2.32.0",
30
+ "eslint-plugin-jsdoc": "^54.1.1",
31
31
  "eslint-plugin-safely-storage": "^1.0.2",
32
- "globals": "^16.0.0",
33
- "typescript-eslint": "^8.25.0"
32
+ "globals": "^16.3.0",
33
+ "typescript-eslint": "^8.41.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@types/node": "^22.13.5",
37
- "eslint": "^9.21.0"
36
+ "@types/node": "^24.3.0",
37
+ "eslint": "^9.34.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "eslint": "^9.12.0"