@w0s/eslint-config 7.0.0-rc.3 → 7.0.0-rc.5

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/README.md CHANGED
@@ -3,12 +3,12 @@
3
3
  [![npm version](https://badge.fury.io/js/%40w0s%2Feslint-config.svg)](https://www.npmjs.com/package/@w0s/eslint-config)
4
4
  [![test status](https://github.com/SaekiTominaga/w0s/actions/workflows/eslint-test.yml/badge.svg)](https://github.com/SaekiTominaga/w0s/actions/workflows/eslint-test.yml)
5
5
 
6
- ESLint configuration file used on my personal website ([w0s.jp](https://github.com/SaekiTominaga/w0s.jp)).
6
+ ESLint configuration file used on my personal website ([`w0s.jp`](https://github.com/SaekiTominaga/w0s.jp)).
7
7
 
8
8
  ## Base rules & plugins
9
9
 
10
10
  - [eslint:recommended](https://eslint.org/docs/latest/user-guide/configuring/configuration-files#using-eslintrecommended)
11
- - [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import)
11
+ - [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import):recommended
12
12
  - [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc):recommended
13
13
 
14
14
  ### TypeScript
@@ -27,7 +27,6 @@ export default [
27
27
  ...w0sConfig,
28
28
  {
29
29
  // other options
30
- }
30
+ },
31
31
  ];
32
-
33
32
  ```
package/eslint.config.js CHANGED
@@ -46,7 +46,7 @@ export default tseslint.config(
46
46
  ...tseslint.configs.recommended,
47
47
 
48
48
  {
49
- files: ['**/*.js', '**/*.mjs'],
49
+ files: ['**/*.js'],
50
50
  languageOptions: {
51
51
  globals: globals.nodeBuiltin,
52
52
  },
@@ -65,14 +65,7 @@ export default tseslint.config(
65
65
  ...pluginJsdoc.configs['flat/recommended-typescript'].rules,
66
66
  'dot-notation': 'off',
67
67
  'import/no-unresolved': 'off',
68
- '@typescript-eslint/dot-notation': 'off',
69
68
  '@typescript-eslint/no-extraneous-class': 'off',
70
- '@typescript-eslint/no-non-null-assertion': 'off',
71
- '@typescript-eslint/no-unsafe-argument': 'off',
72
- '@typescript-eslint/no-unsafe-assignment': 'off',
73
- '@typescript-eslint/no-unsafe-call': 'off',
74
- '@typescript-eslint/no-unsafe-member-access': 'off',
75
- '@typescript-eslint/no-unsafe-return': 'off',
76
69
  '@typescript-eslint/strict-boolean-expressions': [
77
70
  'error',
78
71
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@w0s/eslint-config",
3
- "version": "7.0.0-rc.3",
4
- "description": "ESLint configuration file used on w0s.jp",
3
+ "version": "7.0.0-rc.5",
4
+ "description": "ESLint configuration file used on `w0s.jp`",
5
5
  "keywords": [
6
6
  "eslint",
7
7
  "eslintconfig",
@@ -21,20 +21,21 @@
21
21
  },
22
22
  "scripts": {
23
23
  "test": "node __tests__/index.test.js",
24
- "lint": "eslint eslint.config.js"
24
+ "lint": "eslint __tests__/*.js rules/**/*.js eslint.config.js"
25
25
  },
26
26
  "dependencies": {
27
27
  "@eslint/eslintrc": "^3.1.0",
28
28
  "@eslint/js": "^8.57.0",
29
- "@typescript-eslint/eslint-plugin": "^7.17.0",
30
- "@typescript-eslint/parser": "^7.17.0",
29
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
30
+ "@typescript-eslint/parser": "^7.18.0",
31
31
  "eslint-plugin-import": "^2.29.1",
32
- "eslint-plugin-jsdoc": "^48.8.3",
32
+ "eslint-plugin-jsdoc": "^48.10.2",
33
33
  "globals": "^15.8.0",
34
- "typescript-eslint": "^7.17.0"
34
+ "typescript-eslint": "^7.18.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/eslint": "^8.56.11",
38
+ "@types/node": "^22.0.0",
38
39
  "eslint": "^8.57.0"
39
40
  },
40
41
  "peerDependencies": {
package/rules/jsdoc.js CHANGED
@@ -9,6 +9,6 @@ export default {
9
9
  {
10
10
  startLines: 1,
11
11
  },
12
- ], // Recommended
12
+ ], //
13
13
  },
14
14
  };