eslint-config-heck 1.45.1 → 1.46.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 +12 -6
- package/package.json +7 -7
package/node.js
CHANGED
|
@@ -1046,7 +1046,13 @@ const overrides = [
|
|
|
1046
1046
|
"@typescript-eslint/prefer-includes": "error",
|
|
1047
1047
|
"@typescript-eslint/prefer-literal-enum-member": "error",
|
|
1048
1048
|
"@typescript-eslint/prefer-namespace-keyword": "off",
|
|
1049
|
-
"@typescript-eslint/prefer-nullish-coalescing":
|
|
1049
|
+
"@typescript-eslint/prefer-nullish-coalescing": [
|
|
1050
|
+
"error",
|
|
1051
|
+
{
|
|
1052
|
+
ignoreConditionalTests: true,
|
|
1053
|
+
ignoreMixedLogicalExpressions: true,
|
|
1054
|
+
},
|
|
1055
|
+
],
|
|
1050
1056
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
1051
1057
|
"@typescript-eslint/prefer-readonly": [
|
|
1052
1058
|
"error",
|
|
@@ -1312,11 +1318,12 @@ const overrides = [
|
|
|
1312
1318
|
"jest/unbound-method": "error",
|
|
1313
1319
|
|
|
1314
1320
|
// plugin-testing-library
|
|
1315
|
-
"testing-library/await-async-
|
|
1321
|
+
"testing-library/await-async-events": "error",
|
|
1322
|
+
"testing-library/await-async-queries": "error",
|
|
1316
1323
|
"testing-library/await-async-utils": "error",
|
|
1317
1324
|
"testing-library/consistent-data-testid": "off",
|
|
1318
1325
|
"testing-library/no-await-sync-events": "off",
|
|
1319
|
-
"testing-library/no-await-sync-
|
|
1326
|
+
"testing-library/no-await-sync-queries": "off",
|
|
1320
1327
|
"testing-library/no-container": "error",
|
|
1321
1328
|
"testing-library/no-debugging-utils": "error",
|
|
1322
1329
|
"testing-library/no-dom-import": ["error", "react"],
|
|
@@ -1324,9 +1331,8 @@ const overrides = [
|
|
|
1324
1331
|
"testing-library/no-manual-cleanup": "error",
|
|
1325
1332
|
"testing-library/no-node-access": "error",
|
|
1326
1333
|
"testing-library/no-promise-in-fire-event": "off",
|
|
1327
|
-
"testing-library/no-render-in-
|
|
1334
|
+
"testing-library/no-render-in-lifecycle": "error",
|
|
1328
1335
|
"testing-library/no-unnecessary-act": "error",
|
|
1329
|
-
"testing-library/no-wait-for-empty-callback": "error",
|
|
1330
1336
|
"testing-library/no-wait-for-multiple-assertions": "error",
|
|
1331
1337
|
"testing-library/no-wait-for-side-effects": "error",
|
|
1332
1338
|
"testing-library/no-wait-for-snapshot": "error",
|
|
@@ -1334,9 +1340,9 @@ const overrides = [
|
|
|
1334
1340
|
"testing-library/prefer-find-by": "error",
|
|
1335
1341
|
"testing-library/prefer-presence-queries": "error",
|
|
1336
1342
|
"testing-library/prefer-query-by-disappearance": "error",
|
|
1343
|
+
"testing-library/prefer-query-matchers": "off",
|
|
1337
1344
|
"testing-library/prefer-screen-queries": "error",
|
|
1338
1345
|
"testing-library/prefer-user-event": "error",
|
|
1339
|
-
"testing-library/prefer-wait-for": "error",
|
|
1340
1346
|
"testing-library/render-result-naming-convention": "off",
|
|
1341
1347
|
},
|
|
1342
1348
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.46.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"author": "atheck",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
21
|
-
"@typescript-eslint/parser": "6.
|
|
22
|
-
"eslint": "8.
|
|
23
|
-
"eslint-import-resolver-typescript": "3.
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "6.4.0",
|
|
21
|
+
"@typescript-eslint/parser": "6.4.0",
|
|
22
|
+
"eslint": "8.47.0",
|
|
23
|
+
"eslint-import-resolver-typescript": "3.6.0",
|
|
24
24
|
"eslint-plugin-deprecation": "1.5.0",
|
|
25
25
|
"eslint-plugin-import": "2.28.0",
|
|
26
26
|
"eslint-plugin-jest": "27.2.3",
|
|
27
27
|
"eslint-plugin-react": "7.33.1",
|
|
28
28
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
29
29
|
"eslint-plugin-react-native": "4.0.0",
|
|
30
|
-
"eslint-plugin-testing-library": "
|
|
30
|
+
"eslint-plugin-testing-library": "6.0.0",
|
|
31
31
|
"eslint-plugin-typescript-heck": "1.3.1",
|
|
32
32
|
"eslint-plugin-unicorn": "48.0.1",
|
|
33
33
|
"typescript": "5.1.6"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@testing-library/react": "14.0.0",
|
|
37
37
|
"@types/jest": "29.5.3",
|
|
38
|
-
"@types/react": "18.2.
|
|
38
|
+
"@types/react": "18.2.20",
|
|
39
39
|
"jest": "29.6.2",
|
|
40
40
|
"react": "18.2.0",
|
|
41
41
|
"semantic-release": "21.0.7"
|