@perfective/eslint-config 0.19.0-alpha → 0.19.0-beta
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.adoc +1 -1
- package/README.md +1 -1
- package/package.json +10 -10
- package/rules/promise/index.js +1 -0
- package/rules/typescript-eslint/supported-rules.js +1 -0
package/README.adoc
CHANGED
|
@@ -20,7 +20,7 @@ and the `link:https://typescript-eslint.io/rules/[@typescript-eslint]` plugin ru
|
|
|
20
20
|
* `link:https://github.com/gajus/eslint-plugin-jsdoc[eslint-plugin-jsdoc]`;
|
|
21
21
|
* `link:https://github.com/mysticatea/eslint-plugin-node[eslint-plugin-node]`;
|
|
22
22
|
* `link:https://github.com/TristonJ/eslint-plugin-prefer-arrow[eslint-plugin-prefer-arrow]`;
|
|
23
|
-
* `link:https://github.com/
|
|
23
|
+
* `link:https://github.com/eslint-community/eslint-plugin-promise[eslint-plugin-promise]`;
|
|
24
24
|
* `link:https://github.com/cartant/eslint-plugin-rxjs[eslint-plugin-rxjs]`;
|
|
25
25
|
* `link:https://github.com/lydell/eslint-plugin-simple-import-sort[eslint-plugin-simple-import-sort]`;
|
|
26
26
|
* `link:https://github.com/SonarSource/eslint-plugin-sonarjs[eslint-plugin-sonarjs]`;
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ and the [`@typescript-eslint`](https://typescript-eslint.io/rules/) plugin rules
|
|
|
19
19
|
- [`eslint-plugin-jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc);
|
|
20
20
|
- [`eslint-plugin-node`](https://github.com/mysticatea/eslint-plugin-node);
|
|
21
21
|
- [`eslint-plugin-prefer-arrow`](https://github.com/TristonJ/eslint-plugin-prefer-arrow);
|
|
22
|
-
- [`eslint-plugin-promise`](https://github.com/
|
|
22
|
+
- [`eslint-plugin-promise`](https://github.com/eslint-community/eslint-plugin-promise);
|
|
23
23
|
- [`eslint-plugin-rxjs`](https://github.com/cartant/eslint-plugin-rxjs);
|
|
24
24
|
- [`eslint-plugin-simple-import-sort`](https://github.com/lydell/eslint-plugin-simple-import-sort);
|
|
25
25
|
- [`eslint-plugin-sonarjs`](https://github.com/SonarSource/eslint-plugin-sonarjs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perfective/eslint-config",
|
|
3
|
-
"version": "0.19.0-
|
|
3
|
+
"version": "0.19.0-beta",
|
|
4
4
|
"description": "ESLint shareable rules configuration",
|
|
5
5
|
"keywords": ["code quality", "code standard", "code style", "eslint", "eslint-config", "lint", "perfective", "tslint", "tslint-config", "typescript"],
|
|
6
6
|
"author": "Andrey Mikheychik <a.mikheychik@gmail.com>",
|
|
@@ -12,27 +12,27 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@babel/eslint-parser": "^7.19.1",
|
|
15
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
16
|
-
"@typescript-eslint/eslint-plugin-tslint": "^5.
|
|
17
|
-
"@typescript-eslint/parser": "^5.
|
|
18
|
-
"eslint": "^8.
|
|
19
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
15
|
+
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
|
16
|
+
"@typescript-eslint/eslint-plugin-tslint": "^5.41.0",
|
|
17
|
+
"@typescript-eslint/parser": "^5.41.0",
|
|
18
|
+
"eslint": "^8.26.0",
|
|
19
|
+
"eslint-import-resolver-typescript": "^3.5.2",
|
|
20
20
|
"eslint-plugin-array-func": "^3.1.7",
|
|
21
21
|
"eslint-plugin-cypress": "^2.12.1",
|
|
22
22
|
"eslint-plugin-deprecation": "^1.3.2",
|
|
23
23
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
24
24
|
"eslint-plugin-import": "^2.26.0",
|
|
25
|
-
"eslint-plugin-jest": "^27.1.
|
|
25
|
+
"eslint-plugin-jest": "^27.1.3",
|
|
26
26
|
"eslint-plugin-jest-dom": "^4.0.2",
|
|
27
27
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
28
|
-
"eslint-plugin-jsdoc": "^39.
|
|
28
|
+
"eslint-plugin-jsdoc": "^39.4.0",
|
|
29
29
|
"eslint-plugin-node": "^11.1.0",
|
|
30
30
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
31
|
-
"eslint-plugin-promise": "^6.
|
|
31
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
32
32
|
"eslint-plugin-rxjs": "^5.0.2",
|
|
33
33
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
34
34
|
"eslint-plugin-sonarjs": "^0.16.0",
|
|
35
|
-
"eslint-plugin-testing-library": "^5.
|
|
35
|
+
"eslint-plugin-testing-library": "^5.9.1",
|
|
36
36
|
"eslint-plugin-unicorn": "^44.0.2",
|
|
37
37
|
"tslint": "^6.1.3"
|
|
38
38
|
},
|
package/rules/promise/index.js
CHANGED
|
@@ -8,6 +8,7 @@ module.exports = {
|
|
|
8
8
|
'promise/no-return-wrap': 'error',
|
|
9
9
|
'promise/param-names': 'warn',
|
|
10
10
|
'promise/always-return': 'error',
|
|
11
|
+
'promise/no-multiple-resolved': 'error',
|
|
11
12
|
'promise/no-native': 'off',
|
|
12
13
|
'promise/no-nesting': 'error',
|
|
13
14
|
'promise/no-promise-in-callback': 'error',
|
|
@@ -172,6 +172,7 @@ module.exports = {
|
|
|
172
172
|
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
173
173
|
'@typescript-eslint/no-unsafe-assignment': 'error',
|
|
174
174
|
'@typescript-eslint/no-unsafe-call': 'error',
|
|
175
|
+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
175
176
|
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
176
177
|
'@typescript-eslint/no-unsafe-return': 'error',
|
|
177
178
|
'@typescript-eslint/no-var-requires': 'error',
|