@gooddata/eslint-config 11.57.0-alpha.3 → 11.57.0-alpha.5

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.
Files changed (41) hide show
  1. package/PACKAGES_V9_OXLINT.md +0 -1
  2. package/dist/base.js +13 -13
  3. package/dist/base.json +13 -13
  4. package/dist/browser-esm.js +13 -13
  5. package/dist/browser-esm.json +13 -13
  6. package/dist/esm-playwright.js +13 -13
  7. package/dist/esm-playwright.json +13 -13
  8. package/dist/esm-react-playwright.js +21 -22
  9. package/dist/esm-react-playwright.json +21 -22
  10. package/dist/esm-react-storybook.js +21 -22
  11. package/dist/esm-react-storybook.json +21 -22
  12. package/dist/esm-react-vitest-rtl.js +22 -22
  13. package/dist/esm-react-vitest-rtl.json +22 -22
  14. package/dist/esm-react-vitest.js +22 -22
  15. package/dist/esm-react-vitest.json +22 -22
  16. package/dist/esm-react.js +21 -22
  17. package/dist/esm-react.json +21 -22
  18. package/dist/esm-vitest-rtl.js +14 -13
  19. package/dist/esm-vitest-rtl.json +14 -13
  20. package/dist/esm-vitest.js +14 -13
  21. package/dist/esm-vitest.json +14 -13
  22. package/dist/esm.js +13 -13
  23. package/dist/esm.json +13 -13
  24. package/dist/oxlint-esm-react-playwright.js +5 -16
  25. package/dist/oxlint-esm-react-storybook.js +5 -16
  26. package/dist/oxlint-esm-react-vitest-rtl.js +5 -16
  27. package/dist/oxlint-esm-react-vitest.js +5 -16
  28. package/dist/oxlint-esm-react.js +5 -16
  29. package/dist/oxlint-react-playwright.js +5 -16
  30. package/dist/oxlint-react-vitest-rtl.js +5 -16
  31. package/dist/oxlint-react-vitest.js +5 -16
  32. package/dist/oxlint-react.js +5 -16
  33. package/dist/react-playwright.js +21 -22
  34. package/dist/react-playwright.json +21 -22
  35. package/dist/react-vitest-rtl.js +22 -22
  36. package/dist/react-vitest-rtl.json +22 -22
  37. package/dist/react-vitest.js +22 -22
  38. package/dist/react-vitest.json +22 -22
  39. package/dist/react.js +21 -22
  40. package/dist/react.json +21 -22
  41. package/package.json +2 -2
@@ -603,6 +603,19 @@
603
603
  "no-caller": "error",
604
604
  "no-eval": "error",
605
605
  "no-delete-var": "error",
606
+ "no-restricted-exports": [
607
+ "error",
608
+ {
609
+ "restrictDefaultExports": {
610
+ "direct": true,
611
+ "named": true,
612
+ "defaultFrom": true,
613
+ "namedFrom": true,
614
+ "namespaceFrom": true
615
+ }
616
+ }
617
+ ],
618
+ "no-negated-condition": "error",
606
619
  "no-duplicate-imports": [
607
620
  "error",
608
621
  {
@@ -621,18 +634,6 @@
621
634
  ],
622
635
  "no-octal": "error",
623
636
  "no-dupe-args": "error",
624
- "no-restricted-exports": [
625
- "error",
626
- {
627
- "restrictDefaultExports": {
628
- "direct": true,
629
- "named": true,
630
- "defaultFrom": true,
631
- "namedFrom": true,
632
- "namespaceFrom": true
633
- }
634
- }
635
- ],
636
637
  "no-restricted-syntax": [
637
638
  "error",
638
639
  {
@@ -644,7 +645,6 @@
644
645
  "message": "Do not use `ReactDOM.*`. Use named imports instead."
645
646
  }
646
647
  ],
647
- "no-negated-condition": "error",
648
648
  "no-octal-escape": "error",
649
649
  "header/header": [
650
650
  2,
@@ -949,6 +949,7 @@
949
949
  "@vitest/no-focused-tests": "warn",
950
950
  "@vitest/no-identical-title": "warn",
951
951
  "@vitest/valid-expect": "warn",
952
+ "@vitest/valid-expect-in-promise": "error",
952
953
  "no-only-tests/no-only-tests": [
953
954
  "error",
954
955
  {
package/dist/esm.js CHANGED
@@ -612,6 +612,19 @@ export default [
612
612
  "no-caller": "error",
613
613
  "no-eval": "error",
614
614
  "no-delete-var": "error",
615
+ "no-restricted-exports": [
616
+ "error",
617
+ {
618
+ restrictDefaultExports: {
619
+ direct: true,
620
+ named: true,
621
+ defaultFrom: true,
622
+ namedFrom: true,
623
+ namespaceFrom: true,
624
+ },
625
+ },
626
+ ],
627
+ "no-negated-condition": "error",
615
628
  "no-duplicate-imports": [
616
629
  "error",
617
630
  {
@@ -630,18 +643,6 @@ export default [
630
643
  ],
631
644
  "no-octal": "error",
632
645
  "no-dupe-args": "error",
633
- "no-restricted-exports": [
634
- "error",
635
- {
636
- restrictDefaultExports: {
637
- direct: true,
638
- named: true,
639
- defaultFrom: true,
640
- namedFrom: true,
641
- namespaceFrom: true,
642
- },
643
- },
644
- ],
645
646
  "no-restricted-syntax": [
646
647
  "error",
647
648
  {
@@ -653,7 +654,6 @@ export default [
653
654
  message: "Do not use `ReactDOM.*`. Use named imports instead.",
654
655
  },
655
656
  ],
656
- "no-negated-condition": "error",
657
657
  "no-octal-escape": "error",
658
658
  },
659
659
  },
package/dist/esm.json CHANGED
@@ -601,6 +601,19 @@
601
601
  "no-caller": "error",
602
602
  "no-eval": "error",
603
603
  "no-delete-var": "error",
604
+ "no-restricted-exports": [
605
+ "error",
606
+ {
607
+ "restrictDefaultExports": {
608
+ "direct": true,
609
+ "named": true,
610
+ "defaultFrom": true,
611
+ "namedFrom": true,
612
+ "namespaceFrom": true
613
+ }
614
+ }
615
+ ],
616
+ "no-negated-condition": "error",
604
617
  "no-duplicate-imports": [
605
618
  "error",
606
619
  {
@@ -619,18 +632,6 @@
619
632
  ],
620
633
  "no-octal": "error",
621
634
  "no-dupe-args": "error",
622
- "no-restricted-exports": [
623
- "error",
624
- {
625
- "restrictDefaultExports": {
626
- "direct": true,
627
- "named": true,
628
- "defaultFrom": true,
629
- "namedFrom": true,
630
- "namespaceFrom": true
631
- }
632
- }
633
- ],
634
635
  "no-restricted-syntax": [
635
636
  "error",
636
637
  {
@@ -642,7 +643,6 @@
642
643
  "message": "Do not use `ReactDOM.*`. Use named imports instead."
643
644
  }
644
645
  ],
645
- "no-negated-condition": "error",
646
646
  "no-octal-escape": "error",
647
647
  "header/header": [
648
648
  2,
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -5,7 +5,6 @@ import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
- import plugin0005 from "eslint-plugin-react-hooks";
9
8
 
10
9
  export default [
11
10
  {
@@ -119,7 +118,6 @@ export default [
119
118
  {
120
119
  plugins: {
121
120
  react: plugin0004,
122
- "react-hooks": plugin0005,
123
121
  },
124
122
  settings: {
125
123
  react: {
@@ -127,15 +125,6 @@ export default [
127
125
  },
128
126
  },
129
127
  rules: {
130
- "react/no-danger": "error",
131
- "react/prop-types": "off",
132
- "react/function-component-definition": [
133
- "error",
134
- {
135
- namedComponents: "function-declaration",
136
- unnamedComponents: "arrow-function",
137
- },
138
- ],
139
128
  "react/jsx-no-leaked-render": [
140
129
  "warn",
141
130
  {
@@ -145,13 +134,13 @@ export default [
145
134
  ],
146
135
  },
147
136
  ],
148
- "react/jsx-boolean-value": [
137
+ "react/function-component-definition": [
149
138
  "error",
150
- "never",
139
+ {
140
+ namedComponents: "function-declaration",
141
+ unnamedComponents: "arrow-function",
142
+ },
151
143
  ],
152
- "react/react-in-jsx-scope": "off",
153
- "react-hooks/rules-of-hooks": "error",
154
- "react-hooks/exhaustive-deps": "error",
155
144
  },
156
145
  },
157
146
  ];
@@ -616,6 +616,19 @@ export default [
616
616
  "no-caller": "error",
617
617
  "no-eval": "error",
618
618
  "no-delete-var": "error",
619
+ "no-restricted-exports": [
620
+ "error",
621
+ {
622
+ restrictDefaultExports: {
623
+ direct: true,
624
+ named: true,
625
+ defaultFrom: true,
626
+ namedFrom: true,
627
+ namespaceFrom: true,
628
+ },
629
+ },
630
+ ],
631
+ "no-negated-condition": "error",
619
632
  "no-duplicate-imports": [
620
633
  "error",
621
634
  {
@@ -634,18 +647,6 @@ export default [
634
647
  ],
635
648
  "no-octal": "error",
636
649
  "no-dupe-args": "error",
637
- "no-restricted-exports": [
638
- "error",
639
- {
640
- restrictDefaultExports: {
641
- direct: true,
642
- named: true,
643
- defaultFrom: true,
644
- namedFrom: true,
645
- namespaceFrom: true,
646
- },
647
- },
648
- ],
649
650
  "no-restricted-syntax": [
650
651
  "error",
651
652
  {
@@ -657,7 +658,6 @@ export default [
657
658
  message: "Do not use `ReactDOM.*`. Use named imports instead.",
658
659
  },
659
660
  ],
660
- "no-negated-condition": "error",
661
661
  "no-octal-escape": "error",
662
662
  },
663
663
  },
@@ -2356,14 +2356,11 @@ export default [
2356
2356
  },
2357
2357
  rules: {
2358
2358
  "react/no-danger": "error",
2359
- "react/prop-types": "off",
2360
- "react/function-component-definition": [
2359
+ "react/jsx-boolean-value": [
2361
2360
  "error",
2362
- {
2363
- namedComponents: "function-declaration",
2364
- unnamedComponents: "arrow-function",
2365
- },
2361
+ "never",
2366
2362
  ],
2363
+ "react/react-in-jsx-scope": "off",
2367
2364
  "react/jsx-no-leaked-render": [
2368
2365
  "warn",
2369
2366
  {
@@ -2373,11 +2370,13 @@ export default [
2373
2370
  ],
2374
2371
  },
2375
2372
  ],
2376
- "react/jsx-boolean-value": [
2373
+ "react/function-component-definition": [
2377
2374
  "error",
2378
- "never",
2375
+ {
2376
+ namedComponents: "function-declaration",
2377
+ unnamedComponents: "arrow-function",
2378
+ },
2379
2379
  ],
2380
- "react/react-in-jsx-scope": "off",
2381
2380
  "react-hooks/rules-of-hooks": "error",
2382
2381
  "react-hooks/exhaustive-deps": "error",
2383
2382
  },