@slashnephy/eslint-config 0.1.5 → 0.1.8
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/dist/javascript.js +3 -0
- package/dist/typescript.js +3 -0
- package/package.json +16 -16
package/dist/javascript.js
CHANGED
|
@@ -53,6 +53,9 @@ const javascript = {
|
|
|
53
53
|
'node/prefer-promises/dns': 'error',
|
|
54
54
|
'node/prefer-promises/fs': 'error',
|
|
55
55
|
'node/no-unsupported-features/es-syntax': 'off',
|
|
56
|
+
'node/no-missing-import': 'off',
|
|
57
|
+
'node/no-extraneous-import': 'off',
|
|
58
|
+
'node/no-unpublished-import': 'off',
|
|
56
59
|
},
|
|
57
60
|
};
|
|
58
61
|
module.exports = javascript;
|
package/dist/typescript.js
CHANGED
|
@@ -41,9 +41,12 @@ const typescript = {
|
|
|
41
41
|
'@typescript-eslint/unbound-method': 'off',
|
|
42
42
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
43
43
|
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
44
|
+
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
45
|
+
'@typescript-eslint/no-unsafe-call': 'off',
|
|
44
46
|
'@typescript-eslint/no-unsafe-return': 'off',
|
|
45
47
|
'@typescript-eslint/no-misused-promises': 'off',
|
|
46
48
|
'@typescript-eslint/explicit-member-accessibility': 'error',
|
|
49
|
+
'@typescript-eslint/consistent-indexed-object-style': ['error', 'record'],
|
|
47
50
|
},
|
|
48
51
|
overrides: [
|
|
49
52
|
{
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashnephy/eslint-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/SlashNephy/.github",
|
|
6
6
|
"directory": "env/eslint"
|
|
7
7
|
},
|
|
8
|
-
"author": "SlashNephy <spica@starry.blue>",
|
|
8
|
+
"author": "SlashNephy <spica@starry.blue> (https://spica.starry.blue/)",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"files": [
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
"publish": "yarn clean && yarn build && yarn npm publish"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
31
|
-
"@typescript-eslint/parser": "5.
|
|
32
|
-
"eslint-config-next": "12.
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "5.33.0",
|
|
31
|
+
"@typescript-eslint/parser": "5.33.0",
|
|
32
|
+
"eslint-config-next": "12.2.5",
|
|
33
33
|
"eslint-config-prettier": "8.5.0",
|
|
34
|
-
"eslint-import-resolver-typescript": "
|
|
34
|
+
"eslint-import-resolver-typescript": "3.4.1",
|
|
35
35
|
"eslint-plugin-css-import-order": "1.1.0",
|
|
36
36
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
37
37
|
"eslint-plugin-import": "2.26.0",
|
|
38
|
-
"eslint-plugin-jest": "26.
|
|
38
|
+
"eslint-plugin-jest": "26.8.2",
|
|
39
39
|
"eslint-plugin-jest-formatting": "3.1.0",
|
|
40
40
|
"eslint-plugin-node": "11.1.0",
|
|
41
41
|
"eslint-plugin-promise": "6.0.0",
|
|
42
|
-
"eslint-plugin-react": "7.30.
|
|
43
|
-
"eslint-plugin-react-hooks": "4.
|
|
42
|
+
"eslint-plugin-react": "7.30.1",
|
|
43
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
44
44
|
"eslint-plugin-unused-imports": "2.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@slashnephy/prettier-config": "0.1.1",
|
|
53
|
-
"@types/eslint": "8.4.
|
|
53
|
+
"@types/eslint": "8.4.6",
|
|
54
54
|
"@types/node": "17.0.41",
|
|
55
|
-
"@types/prettier": "2.
|
|
56
|
-
"concurrently": "7.
|
|
57
|
-
"eslint": "8.
|
|
58
|
-
"prettier": "2.
|
|
59
|
-
"typescript": "4.7.
|
|
55
|
+
"@types/prettier": "2.7.0",
|
|
56
|
+
"concurrently": "7.3.0",
|
|
57
|
+
"eslint": "8.22.0",
|
|
58
|
+
"prettier": "2.7.1",
|
|
59
|
+
"typescript": "4.7.4"
|
|
60
60
|
},
|
|
61
|
-
"packageManager": "yarn@3.2.
|
|
61
|
+
"packageManager": "yarn@3.2.2",
|
|
62
62
|
"eslintConfig": {
|
|
63
63
|
"extends": [
|
|
64
64
|
"./dist/index.js"
|