@gooddata/eslint-config 11.57.0-alpha.4 → 11.57.0-alpha.6

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.
@@ -615,6 +615,19 @@ export default [
615
615
  "no-caller": "error",
616
616
  "no-eval": "error",
617
617
  "no-delete-var": "error",
618
+ "no-restricted-exports": [
619
+ "error",
620
+ {
621
+ restrictDefaultExports: {
622
+ direct: true,
623
+ named: true,
624
+ defaultFrom: true,
625
+ namedFrom: true,
626
+ namespaceFrom: true,
627
+ },
628
+ },
629
+ ],
630
+ "no-negated-condition": "error",
618
631
  "no-duplicate-imports": [
619
632
  "error",
620
633
  {
@@ -633,18 +646,6 @@ export default [
633
646
  ],
634
647
  "no-octal": "error",
635
648
  "no-dupe-args": "error",
636
- "no-restricted-exports": [
637
- "error",
638
- {
639
- restrictDefaultExports: {
640
- direct: true,
641
- named: true,
642
- defaultFrom: true,
643
- namedFrom: true,
644
- namespaceFrom: true,
645
- },
646
- },
647
- ],
648
649
  "no-restricted-syntax": [
649
650
  "error",
650
651
  {
@@ -656,7 +657,6 @@ export default [
656
657
  message: "Do not use `ReactDOM.*`. Use named imports instead.",
657
658
  },
658
659
  ],
659
- "no-negated-condition": "error",
660
660
  "no-octal-escape": "error",
661
661
  },
662
662
  },
@@ -2346,7 +2346,6 @@ export default [
2346
2346
  {
2347
2347
  plugins: {
2348
2348
  react: plugin0008,
2349
- "react-hooks": plugin0009,
2350
2349
  },
2351
2350
  settings: {
2352
2351
  react: {
@@ -2376,6 +2375,13 @@ export default [
2376
2375
  unnamedComponents: "arrow-function",
2377
2376
  },
2378
2377
  ],
2378
+ },
2379
+ },
2380
+ {
2381
+ plugins: {
2382
+ "react-hooks": plugin0009,
2383
+ },
2384
+ rules: {
2379
2385
  "react-hooks/rules-of-hooks": "error",
2380
2386
  "react-hooks/exhaustive-deps": "error",
2381
2387
  },
@@ -604,6 +604,19 @@
604
604
  "no-caller": "error",
605
605
  "no-eval": "error",
606
606
  "no-delete-var": "error",
607
+ "no-restricted-exports": [
608
+ "error",
609
+ {
610
+ "restrictDefaultExports": {
611
+ "direct": true,
612
+ "named": true,
613
+ "defaultFrom": true,
614
+ "namedFrom": true,
615
+ "namespaceFrom": true
616
+ }
617
+ }
618
+ ],
619
+ "no-negated-condition": "error",
607
620
  "no-duplicate-imports": [
608
621
  "error",
609
622
  {
@@ -622,18 +635,6 @@
622
635
  ],
623
636
  "no-octal": "error",
624
637
  "no-dupe-args": "error",
625
- "no-restricted-exports": [
626
- "error",
627
- {
628
- "restrictDefaultExports": {
629
- "direct": true,
630
- "named": true,
631
- "defaultFrom": true,
632
- "namedFrom": true,
633
- "namespaceFrom": true
634
- }
635
- }
636
- ],
637
638
  "no-restricted-syntax": [
638
639
  "error",
639
640
  {
@@ -645,7 +646,6 @@
645
646
  "message": "Do not use `ReactDOM.*`. Use named imports instead."
646
647
  }
647
648
  ],
648
- "no-negated-condition": "error",
649
649
  "no-octal-escape": "error",
650
650
  "header/header": [
651
651
  2,
package/dist/react.js CHANGED
@@ -613,6 +613,19 @@ export default [
613
613
  "no-caller": "error",
614
614
  "no-eval": "error",
615
615
  "no-delete-var": "error",
616
+ "no-restricted-exports": [
617
+ "error",
618
+ {
619
+ restrictDefaultExports: {
620
+ direct: true,
621
+ named: true,
622
+ defaultFrom: true,
623
+ namedFrom: true,
624
+ namespaceFrom: true,
625
+ },
626
+ },
627
+ ],
628
+ "no-negated-condition": "error",
616
629
  "no-duplicate-imports": [
617
630
  "error",
618
631
  {
@@ -631,18 +644,6 @@ export default [
631
644
  ],
632
645
  "no-octal": "error",
633
646
  "no-dupe-args": "error",
634
- "no-restricted-exports": [
635
- "error",
636
- {
637
- restrictDefaultExports: {
638
- direct: true,
639
- named: true,
640
- defaultFrom: true,
641
- namedFrom: true,
642
- namespaceFrom: true,
643
- },
644
- },
645
- ],
646
647
  "no-restricted-syntax": [
647
648
  "error",
648
649
  {
@@ -654,7 +655,6 @@ export default [
654
655
  message: "Do not use `ReactDOM.*`. Use named imports instead.",
655
656
  },
656
657
  ],
657
- "no-negated-condition": "error",
658
658
  "no-octal-escape": "error",
659
659
  },
660
660
  },
@@ -2344,7 +2344,6 @@ export default [
2344
2344
  {
2345
2345
  plugins: {
2346
2346
  react: plugin0008,
2347
- "react-hooks": plugin0009,
2348
2347
  },
2349
2348
  settings: {
2350
2349
  react: {
@@ -2374,6 +2373,13 @@ export default [
2374
2373
  unnamedComponents: "arrow-function",
2375
2374
  },
2376
2375
  ],
2376
+ },
2377
+ },
2378
+ {
2379
+ plugins: {
2380
+ "react-hooks": plugin0009,
2381
+ },
2382
+ rules: {
2377
2383
  "react-hooks/rules-of-hooks": "error",
2378
2384
  "react-hooks/exhaustive-deps": "error",
2379
2385
  },
package/dist/react.json CHANGED
@@ -602,6 +602,19 @@
602
602
  "no-caller": "error",
603
603
  "no-eval": "error",
604
604
  "no-delete-var": "error",
605
+ "no-restricted-exports": [
606
+ "error",
607
+ {
608
+ "restrictDefaultExports": {
609
+ "direct": true,
610
+ "named": true,
611
+ "defaultFrom": true,
612
+ "namedFrom": true,
613
+ "namespaceFrom": true
614
+ }
615
+ }
616
+ ],
617
+ "no-negated-condition": "error",
605
618
  "no-duplicate-imports": [
606
619
  "error",
607
620
  {
@@ -620,18 +633,6 @@
620
633
  ],
621
634
  "no-octal": "error",
622
635
  "no-dupe-args": "error",
623
- "no-restricted-exports": [
624
- "error",
625
- {
626
- "restrictDefaultExports": {
627
- "direct": true,
628
- "named": true,
629
- "defaultFrom": true,
630
- "namedFrom": true,
631
- "namespaceFrom": true
632
- }
633
- }
634
- ],
635
636
  "no-restricted-syntax": [
636
637
  "error",
637
638
  {
@@ -643,7 +644,6 @@
643
644
  "message": "Do not use `ReactDOM.*`. Use named imports instead."
644
645
  }
645
646
  ],
646
- "no-negated-condition": "error",
647
647
  "no-octal-escape": "error",
648
648
  "header/header": [
649
649
  2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/eslint-config",
3
- "version": "11.57.0-alpha.4",
3
+ "version": "11.57.0-alpha.6",
4
4
  "license": "MIT",
5
5
  "author": "GoodData",
6
6
  "repository": {
@@ -146,13 +146,13 @@
146
146
  "eslint-plugin-testing-library": "7.16.2",
147
147
  "globals": "17.2.0",
148
148
  "jiti": "2.6.1",
149
- "oxfmt": "0.66.0",
149
+ "oxfmt": "0.68.0",
150
150
  "react": "19.1.1",
151
151
  "react-dom": "19.1.1",
152
152
  "storybook": "^10.5.6",
153
153
  "typescript": "7.0.2",
154
154
  "vite-node": "5.3.0",
155
- "@gooddata/lint-config": "11.57.0-alpha.4"
155
+ "@gooddata/lint-config": "11.57.0-alpha.6"
156
156
  },
157
157
  "peerDependencies": {
158
158
  "@typescript-eslint/eslint-plugin": "8.58.0",