@w0s/eslint-config 5.1.0 → 5.3.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.
- package/README.md +8 -2
- package/index.js +6 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3,14 +3,20 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@w0s/eslint-config)
|
|
4
4
|
[](https://github.com/SaekiTominaga/w0s/actions/workflows/eslint-test.yml)
|
|
5
5
|
|
|
6
|
-
ESLint configuration file used on [w0s.jp](https://w0s.jp
|
|
6
|
+
ESLint configuration file used on my personal website ([w0s.jp](https://github.com/SaekiTominaga/w0s.jp)).
|
|
7
7
|
|
|
8
8
|
## `extends`
|
|
9
9
|
|
|
10
10
|
- [eslint:recommended](https://eslint.org/docs/latest/user-guide/configuring/configuration-files#using-eslintrecommended)
|
|
11
11
|
- [eslint-config-airbnb-base](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base)
|
|
12
12
|
- [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import)
|
|
13
|
-
- [plugin
|
|
13
|
+
- [plugin:jsdoc/recommended](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/src/index.js)
|
|
14
|
+
|
|
15
|
+
### TypeScript file
|
|
16
|
+
|
|
17
|
+
- [plugin:@typescript-eslint/strict-type-checked](https://typescript-eslint.io/users/configs/#strict-type-checked)
|
|
18
|
+
- [plugin:@typescript-eslint/stylistic-type-checked](https://typescript-eslint.io/users/configs/#stylistic-type-checked)
|
|
19
|
+
- [plugin:jsdoc/recommended-typescript](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/src/index.js)
|
|
14
20
|
|
|
15
21
|
## `plugins`
|
|
16
22
|
|
package/index.js
CHANGED
|
@@ -29,6 +29,12 @@ module.exports = {
|
|
|
29
29
|
'@typescript-eslint/no-unsafe-call': 'off',
|
|
30
30
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
31
31
|
'@typescript-eslint/no-unsafe-return': 'off',
|
|
32
|
+
'@typescript-eslint/strict-boolean-expressions': [
|
|
33
|
+
'error',
|
|
34
|
+
{
|
|
35
|
+
allowNullableBoolean: true,
|
|
36
|
+
},
|
|
37
|
+
],
|
|
32
38
|
},
|
|
33
39
|
},
|
|
34
40
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w0s/eslint-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "ESLint configuration file used on w0s.jp",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"test": "eslint __tests__/*"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
26
26
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
27
|
-
"eslint-plugin-jsdoc": "^48.
|
|
27
|
+
"eslint-plugin-jsdoc": "^48.2.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"eslint": "^8.
|
|
30
|
+
"eslint": "^8.57.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"eslint": "^8.
|
|
33
|
+
"eslint": "^8.57.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|