@nest-boot/eslint-config 5.0.0-alpha.2 → 5.0.0-alpha.3
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/index.js +16 -2
- package/package.json +10 -10
package/index.js
CHANGED
|
@@ -2,15 +2,29 @@ module.exports = {
|
|
|
2
2
|
env: {
|
|
3
3
|
node: true,
|
|
4
4
|
},
|
|
5
|
-
extends: [
|
|
5
|
+
extends: [
|
|
6
|
+
"standard",
|
|
7
|
+
"plugin:@typescript-eslint/strict-type-checked",
|
|
8
|
+
"plugin:@typescript-eslint/stylistic-type-checked",
|
|
9
|
+
"prettier",
|
|
10
|
+
],
|
|
6
11
|
plugins: ["simple-import-sort"],
|
|
7
12
|
rules: {
|
|
13
|
+
"@typescript-eslint/restrict-plus-operands": "error",
|
|
14
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
15
|
+
"@typescript-eslint/no-unsafe-argument": "off",
|
|
16
|
+
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
17
|
+
"@typescript-eslint/no-unsafe-call": "off",
|
|
18
|
+
"@typescript-eslint/no-unsafe-return": "off",
|
|
19
|
+
"@typescript-eslint/no-extraneous-class": "off",
|
|
20
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
21
|
+
"no-void": "off",
|
|
8
22
|
"simple-import-sort/imports": "error",
|
|
9
23
|
"simple-import-sort/exports": "error",
|
|
10
24
|
"import/order": "off",
|
|
11
|
-
"import/newline-after-import": "error",
|
|
12
25
|
},
|
|
13
26
|
parserOptions: {
|
|
14
27
|
sourceType: "module",
|
|
28
|
+
project: true,
|
|
15
29
|
},
|
|
16
30
|
};
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nest-boot/eslint-config",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"clean": "rm -rf node_modules"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
11
|
-
"@typescript-eslint/parser": "^
|
|
12
|
-
"eslint": "^8.
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
11
|
+
"@typescript-eslint/parser": "^6.1.0",
|
|
12
|
+
"eslint": "^8.45.0",
|
|
13
13
|
"eslint-config-prettier": "^8.8.0",
|
|
14
|
-
"eslint-config-standard
|
|
14
|
+
"eslint-config-standard": "^17.1.0",
|
|
15
15
|
"eslint-plugin-import": "^2.27.5",
|
|
16
16
|
"eslint-plugin-n": "^16.0.1",
|
|
17
17
|
"eslint-plugin-promise": "^6.1.1",
|
|
18
18
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
19
|
-
"typescript": "^5.1.
|
|
19
|
+
"typescript": "^5.1.6"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
23
|
-
"@typescript-eslint/parser": "^
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
23
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
24
24
|
"eslint": "^8.0.0",
|
|
25
25
|
"eslint-config-prettier": "^8.0.0",
|
|
26
|
-
"eslint-config-standard
|
|
26
|
+
"eslint-config-standard": "^17.0.0",
|
|
27
27
|
"eslint-plugin-import": "^2.0.0",
|
|
28
|
-
"eslint-plugin-n": "^
|
|
28
|
+
"eslint-plugin-n": "^16.0.0",
|
|
29
29
|
"eslint-plugin-promise": "^6.0.0",
|
|
30
30
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
31
31
|
"typescript": "^5.0.0"
|