@slashnephy/eslint-config 2.0.97 → 2.0.99
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/package.json +4 -3
- package/src/base/typescript.js +7 -1
- package/src/base/typescript.ts +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashnephy/eslint-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.99",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"author": "SlashNephy <spica@starry.blue> (https://spica.starry.blue/)",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@emotion/eslint-plugin": "11.11.0",
|
|
35
35
|
"@next/eslint-plugin-next": "13.5.6",
|
|
36
36
|
"@rushstack/eslint-patch": "1.6.1",
|
|
37
|
+
"@susisu/eslint-plugin-safe-typescript": "0.5.2",
|
|
37
38
|
"@typescript-eslint/eslint-plugin": "6.16.0",
|
|
38
39
|
"@typescript-eslint/parser": "6.16.0",
|
|
39
40
|
"eslint-config-airbnb": "19.0.4",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"eslint-plugin-editorconfig": "4.0.3",
|
|
50
51
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
51
52
|
"eslint-plugin-import": "2.29.1",
|
|
52
|
-
"eslint-plugin-jest": "27.6.
|
|
53
|
+
"eslint-plugin-jest": "27.6.1",
|
|
53
54
|
"eslint-plugin-jest-formatting": "3.1.0",
|
|
54
55
|
"eslint-plugin-json": "3.1.0",
|
|
55
56
|
"eslint-plugin-jsx-a11y": "6.8.0",
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
"eslint": "^8"
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
79
|
-
"@slashnephy/prettier-config": "1.0.
|
|
80
|
+
"@slashnephy/prettier-config": "1.0.73",
|
|
80
81
|
"@types/eslint": "8.56.0",
|
|
81
82
|
"@types/node": "20.10.6",
|
|
82
83
|
"concurrently": "8.2.2",
|
package/src/base/typescript.js
CHANGED
|
@@ -4,11 +4,17 @@ module.exports = {
|
|
|
4
4
|
extends: [
|
|
5
5
|
'plugin:@typescript-eslint/strict-type-checked',
|
|
6
6
|
'plugin:@typescript-eslint/stylistic-type-checked',
|
|
7
|
+
'plugin:@susisu/safe-typescript/recommended',
|
|
7
8
|
'plugin:import/typescript',
|
|
8
9
|
'plugin:no-void-return-type/recommended',
|
|
9
10
|
'plugin:storybook/recommended',
|
|
10
11
|
],
|
|
11
|
-
plugins: [
|
|
12
|
+
plugins: [
|
|
13
|
+
'@typescript-eslint',
|
|
14
|
+
'@susisu/safe-typescript',
|
|
15
|
+
'tsdoc',
|
|
16
|
+
'deprecation',
|
|
17
|
+
],
|
|
12
18
|
parser: '@typescript-eslint/parser',
|
|
13
19
|
parserOptions: {
|
|
14
20
|
sourceType: 'module',
|
package/src/base/typescript.ts
CHANGED
|
@@ -7,11 +7,17 @@ module.exports = {
|
|
|
7
7
|
extends: [
|
|
8
8
|
'plugin:@typescript-eslint/strict-type-checked',
|
|
9
9
|
'plugin:@typescript-eslint/stylistic-type-checked',
|
|
10
|
+
'plugin:@susisu/safe-typescript/recommended',
|
|
10
11
|
'plugin:import/typescript',
|
|
11
12
|
'plugin:no-void-return-type/recommended',
|
|
12
13
|
'plugin:storybook/recommended',
|
|
13
14
|
],
|
|
14
|
-
plugins: [
|
|
15
|
+
plugins: [
|
|
16
|
+
'@typescript-eslint',
|
|
17
|
+
'@susisu/safe-typescript',
|
|
18
|
+
'tsdoc',
|
|
19
|
+
'deprecation',
|
|
20
|
+
],
|
|
15
21
|
parser: '@typescript-eslint/parser',
|
|
16
22
|
parserOptions: {
|
|
17
23
|
sourceType: 'module',
|