@storm-software/eslint 0.107.2 → 0.107.3

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 (120) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-723HQUNP.js +14 -0
  3. package/dist/{chunk-V7TQDECV.js → chunk-E7T4SNH3.js} +2 -4
  4. package/dist/chunk-ESFBJFNU.cjs +149 -0
  5. package/dist/chunk-FTXILLLE.js +24 -0
  6. package/dist/chunk-JS7W7LMD.cjs +14 -0
  7. package/dist/chunk-KND2ZTLT.cjs +49 -0
  8. package/dist/chunk-LSG5T3ZK.js +313 -0
  9. package/dist/{chunk-CIGM5K4I.cjs → chunk-NFPQICLG.cjs} +2 -4
  10. package/dist/chunk-OGGLIE6C.cjs +24 -0
  11. package/dist/chunk-QDLKHXPX.cjs +11 -0
  12. package/dist/chunk-RTM5LCEB.js +149 -0
  13. package/dist/chunk-SHUYVCID.js +6 -0
  14. package/dist/chunk-TXTXUVRZ.cjs +313 -0
  15. package/dist/chunk-VJ6CKC4P.js +37 -0
  16. package/dist/chunk-Y67QTC5U.js +49 -0
  17. package/dist/chunk-YQQ366F7.cjs +37 -0
  18. package/dist/preset.cjs +153 -20182
  19. package/dist/preset.js +71 -20098
  20. package/dist/rules/import.cjs +292 -0
  21. package/dist/rules/import.d.cts +5 -0
  22. package/dist/rules/import.d.ts +5 -0
  23. package/dist/rules/import.js +292 -0
  24. package/dist/rules/jsx-a11y.cjs +341 -0
  25. package/dist/rules/jsx-a11y.d.cts +5 -0
  26. package/dist/rules/jsx-a11y.d.ts +5 -0
  27. package/dist/rules/jsx-a11y.js +341 -0
  28. package/dist/rules/react-hooks.cjs +15 -0
  29. package/dist/rules/react-hooks.d.cts +5 -0
  30. package/dist/rules/react-hooks.d.ts +5 -0
  31. package/dist/rules/react-hooks.js +15 -0
  32. package/dist/rules/react.cjs +689 -0
  33. package/dist/rules/react.d.cts +5 -0
  34. package/dist/rules/react.d.ts +5 -0
  35. package/dist/rules/react.js +689 -0
  36. package/dist/rules/storm.cjs +3 -3
  37. package/dist/rules/storm.js +2 -2
  38. package/dist/rules/ts-docs.cjs +7 -0
  39. package/dist/rules/ts-docs.d.cts +5 -0
  40. package/dist/rules/ts-docs.d.ts +5 -0
  41. package/dist/rules/ts-docs.js +7 -0
  42. package/dist/utils/banner-plugin.cjs +9 -0
  43. package/dist/utils/banner-plugin.d.cts +6 -0
  44. package/dist/utils/banner-plugin.d.ts +6 -0
  45. package/dist/utils/banner-plugin.js +9 -0
  46. package/dist/utils/constants.cjs +25 -0
  47. package/dist/utils/constants.d.cts +24 -0
  48. package/dist/utils/constants.d.ts +24 -0
  49. package/dist/utils/constants.js +25 -0
  50. package/dist/utils/create-flat-import-plugin.cjs +20 -0
  51. package/dist/utils/create-flat-import-plugin.d.cts +11 -0
  52. package/dist/utils/create-flat-import-plugin.d.ts +11 -0
  53. package/dist/utils/create-flat-import-plugin.js +20 -0
  54. package/dist/utils/format-config.cjs +7 -0
  55. package/dist/utils/format-config.d.cts +5 -0
  56. package/dist/utils/format-config.d.ts +5 -0
  57. package/dist/utils/format-config.js +7 -0
  58. package/dist/utils/get-file-banner.cjs +8 -0
  59. package/dist/utils/get-file-banner.d.cts +9 -0
  60. package/dist/utils/get-file-banner.d.ts +9 -0
  61. package/dist/utils/get-file-banner.js +8 -0
  62. package/dist/utils/ignores.cjs +7 -0
  63. package/dist/utils/ignores.d.cts +3 -0
  64. package/dist/utils/ignores.d.ts +3 -0
  65. package/dist/utils/ignores.js +7 -0
  66. package/dist/utils/index.cjs +33 -0
  67. package/dist/utils/index.d.cts +4 -0
  68. package/dist/utils/index.d.ts +4 -0
  69. package/dist/utils/index.js +33 -0
  70. package/package.json +1 -1
  71. package/dist/acorn-CCDA5Y7C.cjs +0 -3131
  72. package/dist/acorn-PTPZSZS6.js +0 -3131
  73. package/dist/angular-NDZ53HZT.js +0 -3014
  74. package/dist/angular-XXKPBORI.cjs +0 -3014
  75. package/dist/babel-7OKY5N6D.js +0 -7166
  76. package/dist/babel-ZAEH2MD6.cjs +0 -7166
  77. package/dist/chunk-2GN5RLNR.js +0 -55
  78. package/dist/chunk-BHJDUHOW.cjs +0 -84
  79. package/dist/chunk-GSOR5H2M.cjs +0 -4022
  80. package/dist/chunk-HXTIVITI.js +0 -4022
  81. package/dist/chunk-KOFZWJCN.js +0 -84
  82. package/dist/chunk-PWYAFNCE.cjs +0 -59
  83. package/dist/dist-3EJMVSVL.js +0 -15716
  84. package/dist/dist-GB3FBWYD.cjs +0 -15717
  85. package/dist/esm-HMD4VZC2.js +0 -1715
  86. package/dist/esm-KLBQYHBS.cjs +0 -1715
  87. package/dist/estree-4FZVBA3I.js +0 -4859
  88. package/dist/estree-TXEM7J44.cjs +0 -4859
  89. package/dist/execa-6ZJHRRGH.js +0 -2424
  90. package/dist/execa-RWXGY3AF.cjs +0 -2424
  91. package/dist/flow-LEJXBIDN.cjs +0 -28076
  92. package/dist/flow-TYUDSDMT.js +0 -28076
  93. package/dist/glimmer-BFX2N2PO.js +0 -3062
  94. package/dist/glimmer-CI4NLBJN.cjs +0 -3062
  95. package/dist/graphql-ATKH2UJU.js +0 -1355
  96. package/dist/graphql-F26LLKM2.cjs +0 -1355
  97. package/dist/html-DPSCSLFD.cjs +0 -3036
  98. package/dist/html-TQZJETBK.js +0 -3036
  99. package/dist/json5-2N47OU6X.cjs +0 -764
  100. package/dist/json5-DGCDZGKI.js +0 -764
  101. package/dist/jsonc-3RGXS4EK.js +0 -447
  102. package/dist/jsonc-H5JHBJWX.cjs +0 -447
  103. package/dist/markdown-ENFWQVL3.js +0 -3846
  104. package/dist/markdown-KDQOGP3N.cjs +0 -3846
  105. package/dist/meriyah-UO5W2QS6.js +0 -2720
  106. package/dist/meriyah-XW3PRYEN.cjs +0 -2720
  107. package/dist/multipart-parser-POHWNSZ2.cjs +0 -186
  108. package/dist/multipart-parser-ZBOXYK27.js +0 -186
  109. package/dist/postcss-ICZTIVVB.js +0 -5440
  110. package/dist/postcss-OH45GBM4.cjs +0 -5440
  111. package/dist/prettier-U5XWBEA6.js +0 -23559
  112. package/dist/prettier-UYPX4PW2.cjs +0 -23560
  113. package/dist/toml-NUWFIHJI.js +0 -509
  114. package/dist/toml-WFSEGMHQ.cjs +0 -509
  115. package/dist/typescript-6RS3BOJH.js +0 -14956
  116. package/dist/typescript-K6YYG6NX.cjs +0 -14956
  117. package/dist/yaml-DOGTEZV3.js +0 -4584
  118. package/dist/yaml-GNGUKHFM.cjs +0 -4584
  119. package/dist/yaml-UATHGD5B.cjs +0 -1119
  120. package/dist/yaml-XTDKP6DN.js +0 -1119
@@ -0,0 +1,341 @@
1
+ import "../chunk-SHUYVCID.js";
2
+
3
+ // src/rules/jsx-a11y.ts
4
+ var config = {
5
+ // This rule has been deprecated, but not yet removed.
6
+ "jsx-a11y/no-onchange": "off",
7
+ // ensure emoji are accessible
8
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md
9
+ // disabled; rule is deprecated
10
+ "jsx-a11y/accessible-emoji": "off",
11
+ // Enforce that all elements that require alternative text have meaningful information
12
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md
13
+ "jsx-a11y/alt-text": [
14
+ "error",
15
+ {
16
+ elements: [
17
+ "img",
18
+ "object",
19
+ "area",
20
+ 'input[type="image"]'
21
+ ],
22
+ img: [],
23
+ object: [],
24
+ area: [],
25
+ 'input[type="image"]': []
26
+ }
27
+ ],
28
+ // Enforce that anchors have content
29
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md
30
+ "jsx-a11y/anchor-has-content": [
31
+ "error",
32
+ {
33
+ components: []
34
+ }
35
+ ],
36
+ // ensure <a> tags are valid
37
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/0745af376cdc8686d85a361ce36952b1fb1ccf6e/docs/rules/anchor-is-valid.md
38
+ "jsx-a11y/anchor-is-valid": [
39
+ "error",
40
+ {
41
+ components: [
42
+ "Link"
43
+ ],
44
+ specialLink: [
45
+ "to"
46
+ ],
47
+ aspects: [
48
+ "noHref",
49
+ "invalidHref",
50
+ "preferButton"
51
+ ]
52
+ }
53
+ ],
54
+ // elements with aria-activedescendant must be tabbable
55
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md
56
+ "jsx-a11y/aria-activedescendant-has-tabindex": "error",
57
+ // Enforce all aria-* props are valid.
58
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md
59
+ "jsx-a11y/aria-props": "error",
60
+ // Enforce ARIA state and property values are valid.
61
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md
62
+ "jsx-a11y/aria-proptypes": "error",
63
+ // Require ARIA roles to be valid and non-abstract
64
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md
65
+ "jsx-a11y/aria-role": [
66
+ "error",
67
+ {
68
+ ignoreNonDOM: false
69
+ }
70
+ ],
71
+ // Enforce that elements that do not support ARIA roles, states, and
72
+ // properties do not have those attributes.
73
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md
74
+ "jsx-a11y/aria-unsupported-elements": "error",
75
+ // Ensure the autocomplete attribute is correct and suitable for the form field it is used with
76
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/29c68596b15c4ff0a40daae6d4a2670e36e37d35/docs/rules/autocomplete-valid.md
77
+ "jsx-a11y/autocomplete-valid": [
78
+ "off",
79
+ {
80
+ inputComponents: []
81
+ }
82
+ ],
83
+ // require onClick be accompanied by onKeyUp/onKeyDown/onKeyPress
84
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/click-events-have-key-events.md
85
+ "jsx-a11y/click-events-have-key-events": "error",
86
+ // Enforce that a control (an interactive element) has a text label.
87
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/control-has-associated-label.md
88
+ "jsx-a11y/control-has-associated-label": [
89
+ "error",
90
+ {
91
+ labelAttributes: [
92
+ "label"
93
+ ],
94
+ controlComponents: [],
95
+ ignoreElements: [
96
+ "audio",
97
+ "canvas",
98
+ "embed",
99
+ "input",
100
+ "textarea",
101
+ "tr",
102
+ "video"
103
+ ],
104
+ ignoreRoles: [
105
+ "grid",
106
+ "listbox",
107
+ "menu",
108
+ "menubar",
109
+ "radiogroup",
110
+ "row",
111
+ "tablist",
112
+ "toolbar",
113
+ "tree",
114
+ "treegrid"
115
+ ],
116
+ depth: 5
117
+ }
118
+ ],
119
+ // ensure <hX> tags have content and are not aria-hidden
120
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/heading-has-content.md
121
+ "jsx-a11y/heading-has-content": [
122
+ "error",
123
+ {
124
+ components: [
125
+ ""
126
+ ]
127
+ }
128
+ ],
129
+ // require HTML elements to have a "lang" prop
130
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/html-has-lang.md
131
+ "jsx-a11y/html-has-lang": "error",
132
+ // ensure iframe elements have a unique title
133
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/iframe-has-title.md
134
+ "jsx-a11y/iframe-has-title": "error",
135
+ // Prevent img alt text from containing redundant words like "image", "picture", or "photo"
136
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-redundant-alt.md
137
+ "jsx-a11y/img-redundant-alt": "error",
138
+ // Elements with an interactive role and interaction handlers must be focusable
139
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/interactive-supports-focus.md
140
+ "jsx-a11y/interactive-supports-focus": "error",
141
+ // Enforce that a label tag has a text label and an associated control.
142
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/b800f40a2a69ad48015ae9226fbe879f946757ed/docs/rules/label-has-associated-control.md
143
+ "jsx-a11y/label-has-associated-control": [
144
+ "error",
145
+ {
146
+ labelComponents: [],
147
+ labelAttributes: [],
148
+ controlComponents: [],
149
+ assert: "both",
150
+ depth: 25
151
+ }
152
+ ],
153
+ // require HTML element's lang prop to be valid
154
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/lang.md
155
+ "jsx-a11y/lang": "error",
156
+ // media elements must have captions
157
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/media-has-caption.md
158
+ "jsx-a11y/media-has-caption": [
159
+ "error",
160
+ {
161
+ audio: [],
162
+ video: [],
163
+ track: []
164
+ }
165
+ ],
166
+ // require that mouseover/out come with focus/blur, for keyboard-only users
167
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/mouse-events-have-key-events.md
168
+ "jsx-a11y/mouse-events-have-key-events": "error",
169
+ // Prevent use of `accessKey`
170
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-access-key.md
171
+ "jsx-a11y/no-access-key": "error",
172
+ // prohibit autoFocus prop
173
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md
174
+ "jsx-a11y/no-autofocus": [
175
+ "error",
176
+ {
177
+ ignoreNonDOM: true
178
+ }
179
+ ],
180
+ // prevent distracting elements, like <marquee> and <blink>
181
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-distracting-elements.md
182
+ "jsx-a11y/no-distracting-elements": [
183
+ "error",
184
+ {
185
+ elements: [
186
+ "marquee",
187
+ "blink"
188
+ ]
189
+ }
190
+ ],
191
+ // WAI-ARIA roles should not be used to convert an interactive element to non-interactive
192
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-interactive-element-to-noninteractive-role.md
193
+ "jsx-a11y/no-interactive-element-to-noninteractive-role": [
194
+ "error",
195
+ {
196
+ tr: [
197
+ "none",
198
+ "presentation"
199
+ ]
200
+ }
201
+ ],
202
+ // A non-interactive element does not support event handlers (mouse and key handlers)
203
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-interactions.md
204
+ "jsx-a11y/no-noninteractive-element-interactions": [
205
+ "error",
206
+ {
207
+ handlers: [
208
+ "onClick",
209
+ "onMouseDown",
210
+ "onMouseUp",
211
+ "onKeyPress",
212
+ "onKeyDown",
213
+ "onKeyUp"
214
+ ]
215
+ }
216
+ ],
217
+ // WAI-ARIA roles should not be used to convert a non-interactive element to interactive
218
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-to-interactive-role.md
219
+ "jsx-a11y/no-noninteractive-element-to-interactive-role": [
220
+ "error",
221
+ {
222
+ ul: [
223
+ "listbox",
224
+ "menu",
225
+ "menubar",
226
+ "radiogroup",
227
+ "tablist",
228
+ "tree",
229
+ "treegrid"
230
+ ],
231
+ ol: [
232
+ "listbox",
233
+ "menu",
234
+ "menubar",
235
+ "radiogroup",
236
+ "tablist",
237
+ "tree",
238
+ "treegrid"
239
+ ],
240
+ li: [
241
+ "menuitem",
242
+ "option",
243
+ "row",
244
+ "tab",
245
+ "treeitem"
246
+ ],
247
+ table: [
248
+ "grid"
249
+ ],
250
+ td: [
251
+ "gridcell"
252
+ ]
253
+ }
254
+ ],
255
+ // Tab key navigation should be limited to elements on the page that can be interacted with.
256
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-tabindex.md
257
+ "jsx-a11y/no-noninteractive-tabindex": [
258
+ "error",
259
+ {
260
+ tags: [],
261
+ roles: [
262
+ "tabpanel"
263
+ ],
264
+ allowExpressionValues: true
265
+ }
266
+ ],
267
+ // ensure HTML elements do not specify redundant ARIA roles
268
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md
269
+ "jsx-a11y/no-redundant-roles": [
270
+ "error",
271
+ {
272
+ nav: [
273
+ "navigation"
274
+ ]
275
+ }
276
+ ],
277
+ // Enforce that DOM elements without semantic behavior not have interaction handlers
278
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
279
+ "jsx-a11y/no-static-element-interactions": [
280
+ "error",
281
+ {
282
+ handlers: [
283
+ "onClick",
284
+ "onMouseDown",
285
+ "onMouseUp",
286
+ "onKeyPress",
287
+ "onKeyDown",
288
+ "onKeyUp"
289
+ ]
290
+ }
291
+ ],
292
+ // Enforce that elements with ARIA roles must have all required attributes
293
+ // for that role.
294
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md
295
+ "jsx-a11y/role-has-required-aria-props": "error",
296
+ // Enforce that elements with explicit or implicit roles defined contain
297
+ // only aria-* properties supported by that role.
298
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md
299
+ "jsx-a11y/role-supports-aria-props": "error",
300
+ // only allow <th> to have the "scope" attr
301
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md
302
+ "jsx-a11y/scope": "error",
303
+ // Enforce tabIndex value is not greater than zero.
304
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/tabindex-no-positive.md
305
+ "jsx-a11y/tabindex-no-positive": "error",
306
+ // ----------------------------------------------------
307
+ // Rules that no longer exist in eslint-plugin-jsx-a11y
308
+ // ----------------------------------------------------
309
+ // require that JSX labels use "htmlFor"
310
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-for.md
311
+ // deprecated: replaced by `label-has-associated-control` rule
312
+ "jsx-a11y/label-has-for": [
313
+ "off",
314
+ {
315
+ components: [],
316
+ required: {
317
+ every: [
318
+ "nesting",
319
+ "id"
320
+ ]
321
+ },
322
+ allowChildren: false
323
+ }
324
+ ],
325
+ // Ensures anchor text is not ambiguous
326
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/93f78856655696a55309440593e0948c6fb96134/docs/rules/anchor-ambiguous-text.md
327
+ // TODO: semver-major, enable
328
+ "jsx-a11y/anchor-ambiguous-text": "off",
329
+ // Enforce that aria-hidden="true" is not set on focusable elements.
330
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/93f78856655696a55309440593e0948c6fb96134/docs/rules/no-aria-hidden-on-focusable.md
331
+ // TODO: semver-major, enable
332
+ "jsx-a11y/no-aria-hidden-on-focusable": "off",
333
+ // Enforces using semantic DOM elements over the ARIA role property.
334
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/93f78856655696a55309440593e0948c6fb96134/docs/rules/prefer-tag-over-role.md
335
+ // TODO: semver-major, enable
336
+ "jsx-a11y/prefer-tag-over-role": "off"
337
+ };
338
+ var jsx_a11y_default = config;
339
+ export {
340
+ jsx_a11y_default as default
341
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-QDLKHXPX.cjs');
2
+
3
+ // src/rules/react-hooks.ts
4
+ var config = {
5
+ // Enforce Rules of Hooks
6
+ // https://github.com/facebook/react/blob/c11015ff4f610ac2924d1fc6d569a17657a404fd/packages/eslint-plugin-react-hooks/src/RulesOfHooks.js
7
+ "react-hooks/rules-of-hooks": "error",
8
+ // Verify the list of the dependencies for Hooks like useEffect and similar
9
+ // https://github.com/facebook/react/blob/1204c789776cb01fbaf3e9f032e7e2ba85a44137/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
10
+ "react-hooks/exhaustive-deps": "warn"
11
+ };
12
+ var react_hooks_default = config;
13
+
14
+
15
+ exports.default = react_hooks_default;
@@ -0,0 +1,5 @@
1
+ import { Linter } from 'eslint';
2
+
3
+ declare const config: Linter.RulesRecord;
4
+
5
+ export { config as default };
@@ -0,0 +1,5 @@
1
+ import { Linter } from 'eslint';
2
+
3
+ declare const config: Linter.RulesRecord;
4
+
5
+ export { config as default };
@@ -0,0 +1,15 @@
1
+ import "../chunk-SHUYVCID.js";
2
+
3
+ // src/rules/react-hooks.ts
4
+ var config = {
5
+ // Enforce Rules of Hooks
6
+ // https://github.com/facebook/react/blob/c11015ff4f610ac2924d1fc6d569a17657a404fd/packages/eslint-plugin-react-hooks/src/RulesOfHooks.js
7
+ "react-hooks/rules-of-hooks": "error",
8
+ // Verify the list of the dependencies for Hooks like useEffect and similar
9
+ // https://github.com/facebook/react/blob/1204c789776cb01fbaf3e9f032e7e2ba85a44137/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
10
+ "react-hooks/exhaustive-deps": "warn"
11
+ };
12
+ var react_hooks_default = config;
13
+ export {
14
+ react_hooks_default as default
15
+ };