@w0s/eslint-config 7.0.0-rc.4 → 7.0.0-rc.6

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,7 +3,7 @@
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
 
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
  },
@@ -80,4 +80,12 @@ export default tseslint.config(
80
80
  'import/no-extraneous-dependencies': 'off',
81
81
  },
82
82
  },
83
+ {
84
+ files: ['**/*.test.js', '**/*.test.ts'],
85
+ rules: {
86
+ 'no-new': 'off',
87
+ 'no-unused-expressions': 'off',
88
+ 'import/no-extraneous-dependencies': 'off',
89
+ },
90
+ },
83
91
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@w0s/eslint-config",
3
- "version": "7.0.0-rc.4",
4
- "description": "ESLint configuration file used on w0s.jp",
3
+ "version": "7.0.0-rc.6",
4
+ "description": "ESLint configuration file used on `w0s.jp`",
5
5
  "keywords": [
6
6
  "eslint",
7
7
  "eslintconfig",
@@ -29,7 +29,7 @@
29
29
  "@typescript-eslint/eslint-plugin": "^7.18.0",
30
30
  "@typescript-eslint/parser": "^7.18.0",
31
31
  "eslint-plugin-import": "^2.29.1",
32
- "eslint-plugin-jsdoc": "^48.9.2",
32
+ "eslint-plugin-jsdoc": "^48.10.2",
33
33
  "globals": "^15.8.0",
34
34
  "typescript-eslint": "^7.18.0"
35
35
  },
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
  };