eslint-config-heck 1.4.0 → 1.5.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/node.js +4 -0
- package/package.json +10 -10
package/node.js
CHANGED
|
@@ -921,6 +921,7 @@ const overrides = [
|
|
|
921
921
|
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
922
922
|
"@typescript-eslint/no-non-null-assertion": "error",
|
|
923
923
|
"@typescript-eslint/no-parameter-properties": "off",
|
|
924
|
+
"@typescript-eslint/no-redundant-type-constituents": "error",
|
|
924
925
|
"@typescript-eslint/no-require-imports": "error",
|
|
925
926
|
"@typescript-eslint/no-this-alias": "error",
|
|
926
927
|
"@typescript-eslint/no-type-alias": "off",
|
|
@@ -935,6 +936,7 @@ const overrides = [
|
|
|
935
936
|
"@typescript-eslint/no-unsafe-call": "error",
|
|
936
937
|
"@typescript-eslint/no-unsafe-member-access": "error",
|
|
937
938
|
"@typescript-eslint/no-unsafe-return": "error",
|
|
939
|
+
"@typescript-eslint/no-useless-empty-export": "error",
|
|
938
940
|
"@typescript-eslint/no-var-requires": "error",
|
|
939
941
|
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
940
942
|
"@typescript-eslint/prefer-as-const": "error",
|
|
@@ -1123,6 +1125,8 @@ const overrides = [
|
|
|
1123
1125
|
omitLastInOneLineBlock: false,
|
|
1124
1126
|
},
|
|
1125
1127
|
],
|
|
1128
|
+
"space-before-blocks": "off",
|
|
1129
|
+
"@typescript-eslint/space-before-blocks": "error",
|
|
1126
1130
|
"space-before-function-paren": "off",
|
|
1127
1131
|
"@typescript-eslint/space-before-function-paren": "error",
|
|
1128
1132
|
"space-infix-ops": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@delagen/eslint-plugin-deprecation": "1.3.2",
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
21
|
-
"@typescript-eslint/parser": "5.
|
|
22
|
-
"eslint": "8.
|
|
23
|
-
"eslint-plugin-jest": "26.1.
|
|
24
|
-
"eslint-plugin-react": "7.29.
|
|
25
|
-
"eslint-plugin-typescript-heck": "1.2.
|
|
26
|
-
"eslint-plugin-unicorn": "41.0.
|
|
27
|
-
"typescript": "4.
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "5.16.0",
|
|
21
|
+
"@typescript-eslint/parser": "5.16.0",
|
|
22
|
+
"eslint": "8.11.0",
|
|
23
|
+
"eslint-plugin-jest": "26.1.3",
|
|
24
|
+
"eslint-plugin-react": "7.29.4",
|
|
25
|
+
"eslint-plugin-typescript-heck": "1.2.1",
|
|
26
|
+
"eslint-plugin-unicorn": "41.0.1",
|
|
27
|
+
"typescript": "4.6.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/jest": "27.4.1",
|
|
31
|
-
"@types/react": "17.0.
|
|
31
|
+
"@types/react": "17.0.43",
|
|
32
32
|
"jest": "27.5.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|