eslint-config-heck 1.45.2 → 1.46.1
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 +5 -5
- package/package.json +7 -7
- package/.eslintrc.json +0 -3
- package/.releaserc.json +0 -3
- package/tsconfig.json +0 -20
package/node.js
CHANGED
|
@@ -1318,11 +1318,12 @@ const overrides = [
|
|
|
1318
1318
|
"jest/unbound-method": "error",
|
|
1319
1319
|
|
|
1320
1320
|
// plugin-testing-library
|
|
1321
|
-
"testing-library/await-async-
|
|
1321
|
+
"testing-library/await-async-events": "error",
|
|
1322
|
+
"testing-library/await-async-queries": "error",
|
|
1322
1323
|
"testing-library/await-async-utils": "error",
|
|
1323
1324
|
"testing-library/consistent-data-testid": "off",
|
|
1324
1325
|
"testing-library/no-await-sync-events": "off",
|
|
1325
|
-
"testing-library/no-await-sync-
|
|
1326
|
+
"testing-library/no-await-sync-queries": "off",
|
|
1326
1327
|
"testing-library/no-container": "error",
|
|
1327
1328
|
"testing-library/no-debugging-utils": "error",
|
|
1328
1329
|
"testing-library/no-dom-import": ["error", "react"],
|
|
@@ -1330,9 +1331,8 @@ const overrides = [
|
|
|
1330
1331
|
"testing-library/no-manual-cleanup": "error",
|
|
1331
1332
|
"testing-library/no-node-access": "error",
|
|
1332
1333
|
"testing-library/no-promise-in-fire-event": "off",
|
|
1333
|
-
"testing-library/no-render-in-
|
|
1334
|
+
"testing-library/no-render-in-lifecycle": "error",
|
|
1334
1335
|
"testing-library/no-unnecessary-act": "error",
|
|
1335
|
-
"testing-library/no-wait-for-empty-callback": "error",
|
|
1336
1336
|
"testing-library/no-wait-for-multiple-assertions": "error",
|
|
1337
1337
|
"testing-library/no-wait-for-side-effects": "error",
|
|
1338
1338
|
"testing-library/no-wait-for-snapshot": "error",
|
|
@@ -1340,9 +1340,9 @@ const overrides = [
|
|
|
1340
1340
|
"testing-library/prefer-find-by": "error",
|
|
1341
1341
|
"testing-library/prefer-presence-queries": "error",
|
|
1342
1342
|
"testing-library/prefer-query-by-disappearance": "error",
|
|
1343
|
+
"testing-library/prefer-query-matchers": "off",
|
|
1343
1344
|
"testing-library/prefer-screen-queries": "error",
|
|
1344
1345
|
"testing-library/prefer-user-event": "error",
|
|
1345
|
-
"testing-library/prefer-wait-for": "error",
|
|
1346
1346
|
"testing-library/render-result-naming-convention": "off",
|
|
1347
1347
|
},
|
|
1348
1348
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.46.1",
|
|
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"
|
package/.eslintrc.json
DELETED
package/.releaserc.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"jsx": "react",
|
|
4
|
-
"allowJs": false,
|
|
5
|
-
"esModuleInterop": true,
|
|
6
|
-
"noImplicitAny": true,
|
|
7
|
-
"isolatedModules": true,
|
|
8
|
-
"lib": ["ESNext", "DOM"],
|
|
9
|
-
"moduleResolution": "node",
|
|
10
|
-
"strict": true,
|
|
11
|
-
"noUncheckedIndexedAccess": true,
|
|
12
|
-
"target": "esnext",
|
|
13
|
-
"strictNullChecks": true,
|
|
14
|
-
"downlevelIteration": true,
|
|
15
|
-
"importHelpers": true,
|
|
16
|
-
"resolveJsonModule": true,
|
|
17
|
-
"module": "esnext",
|
|
18
|
-
"declaration": true,
|
|
19
|
-
}
|
|
20
|
-
}
|