eslint-config-silverwind 96.0.7 → 96.0.9
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/dist/index.js +29 -28
- package/dist/index.json +2 -71
- package/package.json +4 -5
package/dist/index.js
CHANGED
|
@@ -9,7 +9,6 @@ import sonarjs from "eslint-plugin-sonarjs";
|
|
|
9
9
|
import unicorn from "eslint-plugin-unicorn";
|
|
10
10
|
import vitest from "eslint-plugin-vitest";
|
|
11
11
|
import playwright from "eslint-plugin-playwright";
|
|
12
|
-
import github from "eslint-plugin-github";
|
|
13
12
|
import globals from "globals";
|
|
14
13
|
import { deepMerge } from "deepie-merge";
|
|
15
14
|
import vitestGlobalsPlugin from "eslint-plugin-vitest-globals";
|
|
@@ -32,7 +31,7 @@ const eslintrc = {
|
|
|
32
31
|
"@stylistic/eslint-plugin-js",
|
|
33
32
|
"@typescript-eslint/eslint-plugin",
|
|
34
33
|
"eslint-plugin-array-func",
|
|
35
|
-
"eslint-plugin-github",
|
|
34
|
+
// "eslint-plugin-github", // causes peerDependency error with eslint 8 - https://github.com/github/eslint-plugin-github/issues/585
|
|
36
35
|
"eslint-plugin-import",
|
|
37
36
|
"eslint-plugin-no-use-extend-native",
|
|
38
37
|
"eslint-plugin-react",
|
|
@@ -61,6 +60,7 @@ const eslintrc = {
|
|
|
61
60
|
"import/parsers": {
|
|
62
61
|
"@typescript-eslint/parser": [".js", ".jsx", ".ts", ".tsx"]
|
|
63
62
|
},
|
|
63
|
+
"import/resolver": "typescript",
|
|
64
64
|
"react": {
|
|
65
65
|
// used by eslint-plugin-react
|
|
66
66
|
version: "19"
|
|
@@ -516,29 +516,29 @@ const eslintrc = {
|
|
|
516
516
|
"func-names": [0],
|
|
517
517
|
"func-style": [0],
|
|
518
518
|
"getter-return": [2],
|
|
519
|
-
"github/a11y-aria-label-is-well-formatted": [0],
|
|
520
|
-
"github/a11y-no-title-attribute": [0],
|
|
521
|
-
"github/a11y-no-visually-hidden-interactive-element": [0],
|
|
522
|
-
"github/a11y-role-supports-aria-props": [0],
|
|
523
|
-
"github/a11y-svg-has-accessible-name": [0],
|
|
524
|
-
"github/array-foreach": [0],
|
|
525
|
-
"github/async-currenttarget": [2],
|
|
526
|
-
"github/async-preventdefault": [2],
|
|
527
|
-
"github/authenticity-token": [0],
|
|
528
|
-
"github/get-attribute": [0],
|
|
529
|
-
"github/js-class-name": [0],
|
|
530
|
-
"github/no-blur": [0],
|
|
531
|
-
"github/no-d-none": [0],
|
|
532
|
-
"github/no-dataset": [2],
|
|
533
|
-
"github/no-dynamic-script-tag": [2],
|
|
534
|
-
"github/no-implicit-buggy-globals": [2],
|
|
535
|
-
"github/no-inner-html": [0],
|
|
536
|
-
"github/no-innerText": [2],
|
|
537
|
-
"github/no-then": [0],
|
|
538
|
-
"github/no-useless-passive": [2],
|
|
539
|
-
"github/prefer-observers": [0],
|
|
540
|
-
"github/require-passive-events": [2],
|
|
541
|
-
"github/unescaped-html-literal": [0],
|
|
519
|
+
// "github/a11y-aria-label-is-well-formatted": [0],
|
|
520
|
+
// "github/a11y-no-title-attribute": [0],
|
|
521
|
+
// "github/a11y-no-visually-hidden-interactive-element": [0],
|
|
522
|
+
// "github/a11y-role-supports-aria-props": [0],
|
|
523
|
+
// "github/a11y-svg-has-accessible-name": [0],
|
|
524
|
+
// "github/array-foreach": [0],
|
|
525
|
+
// "github/async-currenttarget": [2],
|
|
526
|
+
// "github/async-preventdefault": [2],
|
|
527
|
+
// "github/authenticity-token": [0],
|
|
528
|
+
// "github/get-attribute": [0],
|
|
529
|
+
// "github/js-class-name": [0],
|
|
530
|
+
// "github/no-blur": [0],
|
|
531
|
+
// "github/no-d-none": [0],
|
|
532
|
+
// "github/no-dataset": [2],
|
|
533
|
+
// "github/no-dynamic-script-tag": [2],
|
|
534
|
+
// "github/no-implicit-buggy-globals": [2],
|
|
535
|
+
// "github/no-inner-html": [0],
|
|
536
|
+
// "github/no-innerText": [2],
|
|
537
|
+
// "github/no-then": [0],
|
|
538
|
+
// "github/no-useless-passive": [2],
|
|
539
|
+
// "github/prefer-observers": [0],
|
|
540
|
+
// "github/require-passive-events": [2],
|
|
541
|
+
// "github/unescaped-html-literal": [0],
|
|
542
542
|
"grouped-accessor-pairs": [2],
|
|
543
543
|
"guard-for-in": [0],
|
|
544
544
|
"id-blacklist": [0],
|
|
@@ -562,7 +562,8 @@ const eslintrc = {
|
|
|
562
562
|
"import/no-amd": [2],
|
|
563
563
|
"import/no-anonymous-default-export": [0],
|
|
564
564
|
"import/no-commonjs": [2, { "allowConditionalRequire": false }],
|
|
565
|
-
"import/no-cycle": [2, { "ignoreExternal": true, "maxDepth": 1 }],
|
|
565
|
+
"import/no-cycle": [2, { "ignoreExternal": true, "maxDepth": 1, disableScc: true }],
|
|
566
|
+
// disableScc is a massive speed gain
|
|
566
567
|
"import/no-default-export": [0],
|
|
567
568
|
"import/no-deprecated": [0],
|
|
568
569
|
"import/no-duplicates": [2],
|
|
@@ -1123,8 +1124,8 @@ const common = {
|
|
|
1123
1124
|
"react-refresh": reactRefresh,
|
|
1124
1125
|
regexp,
|
|
1125
1126
|
sonarjs,
|
|
1126
|
-
unicorn
|
|
1127
|
-
github
|
|
1127
|
+
unicorn
|
|
1128
|
+
// github,
|
|
1128
1129
|
},
|
|
1129
1130
|
settings: {
|
|
1130
1131
|
"import/extensions": [...jsExts, tsExts],
|
package/dist/index.json
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"@stylistic/eslint-plugin-js",
|
|
7
7
|
"@typescript-eslint/eslint-plugin",
|
|
8
8
|
"eslint-plugin-array-func",
|
|
9
|
-
"eslint-plugin-github",
|
|
10
9
|
"eslint-plugin-import",
|
|
11
10
|
"eslint-plugin-no-use-extend-native",
|
|
12
11
|
"eslint-plugin-react",
|
|
@@ -1462,75 +1461,6 @@
|
|
|
1462
1461
|
"getter-return": [
|
|
1463
1462
|
2
|
|
1464
1463
|
],
|
|
1465
|
-
"github/a11y-aria-label-is-well-formatted": [
|
|
1466
|
-
0
|
|
1467
|
-
],
|
|
1468
|
-
"github/a11y-no-title-attribute": [
|
|
1469
|
-
0
|
|
1470
|
-
],
|
|
1471
|
-
"github/a11y-no-visually-hidden-interactive-element": [
|
|
1472
|
-
0
|
|
1473
|
-
],
|
|
1474
|
-
"github/a11y-role-supports-aria-props": [
|
|
1475
|
-
0
|
|
1476
|
-
],
|
|
1477
|
-
"github/a11y-svg-has-accessible-name": [
|
|
1478
|
-
0
|
|
1479
|
-
],
|
|
1480
|
-
"github/array-foreach": [
|
|
1481
|
-
0
|
|
1482
|
-
],
|
|
1483
|
-
"github/async-currenttarget": [
|
|
1484
|
-
2
|
|
1485
|
-
],
|
|
1486
|
-
"github/async-preventdefault": [
|
|
1487
|
-
2
|
|
1488
|
-
],
|
|
1489
|
-
"github/authenticity-token": [
|
|
1490
|
-
0
|
|
1491
|
-
],
|
|
1492
|
-
"github/get-attribute": [
|
|
1493
|
-
0
|
|
1494
|
-
],
|
|
1495
|
-
"github/js-class-name": [
|
|
1496
|
-
0
|
|
1497
|
-
],
|
|
1498
|
-
"github/no-blur": [
|
|
1499
|
-
0
|
|
1500
|
-
],
|
|
1501
|
-
"github/no-d-none": [
|
|
1502
|
-
0
|
|
1503
|
-
],
|
|
1504
|
-
"github/no-dataset": [
|
|
1505
|
-
2
|
|
1506
|
-
],
|
|
1507
|
-
"github/no-dynamic-script-tag": [
|
|
1508
|
-
2
|
|
1509
|
-
],
|
|
1510
|
-
"github/no-implicit-buggy-globals": [
|
|
1511
|
-
2
|
|
1512
|
-
],
|
|
1513
|
-
"github/no-inner-html": [
|
|
1514
|
-
0
|
|
1515
|
-
],
|
|
1516
|
-
"github/no-innerText": [
|
|
1517
|
-
2
|
|
1518
|
-
],
|
|
1519
|
-
"github/no-then": [
|
|
1520
|
-
0
|
|
1521
|
-
],
|
|
1522
|
-
"github/no-useless-passive": [
|
|
1523
|
-
2
|
|
1524
|
-
],
|
|
1525
|
-
"github/prefer-observers": [
|
|
1526
|
-
0
|
|
1527
|
-
],
|
|
1528
|
-
"github/require-passive-events": [
|
|
1529
|
-
2
|
|
1530
|
-
],
|
|
1531
|
-
"github/unescaped-html-literal": [
|
|
1532
|
-
0
|
|
1533
|
-
],
|
|
1534
1464
|
"grouped-accessor-pairs": [
|
|
1535
1465
|
2
|
|
1536
1466
|
],
|
|
@@ -1605,7 +1535,8 @@
|
|
|
1605
1535
|
2,
|
|
1606
1536
|
{
|
|
1607
1537
|
"ignoreExternal": true,
|
|
1608
|
-
"maxDepth": 1
|
|
1538
|
+
"maxDepth": 1,
|
|
1539
|
+
"disableScc": true
|
|
1609
1540
|
}
|
|
1610
1541
|
],
|
|
1611
1542
|
"import/no-default-export": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-silverwind",
|
|
3
|
-
"version": "96.0.
|
|
3
|
+
"version": "96.0.9",
|
|
4
4
|
"description": "Exhaustive ESLint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/eslint-config-silverwind",
|
|
@@ -16,14 +16,13 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
19
|
-
"@stylistic/eslint-plugin-js": "2.
|
|
20
|
-
"@stylistic/eslint-plugin-jsx": "2.
|
|
19
|
+
"@stylistic/eslint-plugin-js": "2.12.0",
|
|
20
|
+
"@stylistic/eslint-plugin-jsx": "2.12.0",
|
|
21
21
|
"@typescript-eslint/eslint-plugin": "8.17.0",
|
|
22
22
|
"@typescript-eslint/parser": "8.17.0",
|
|
23
23
|
"deepie-merge": "1.3.0",
|
|
24
24
|
"eslint-import-resolver-typescript": "3.7.0",
|
|
25
25
|
"eslint-plugin-array-func": "4.0.0",
|
|
26
|
-
"eslint-plugin-github": "5.1.4",
|
|
27
26
|
"eslint-plugin-import": "2.31.0",
|
|
28
27
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
29
28
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
"eslint": "9.16.0",
|
|
49
48
|
"typescript": "5.7.2",
|
|
50
49
|
"typescript-config-silverwind": "6.2.0",
|
|
51
|
-
"updates": "16.4.
|
|
50
|
+
"updates": "16.4.1",
|
|
52
51
|
"versions": "12.1.2",
|
|
53
52
|
"vite": "5.4.11",
|
|
54
53
|
"vite-config-silverwind": "3.1.0",
|