js-style-kit 0.2.8 → 0.2.10

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 (125) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/dist/eslint/base/config.js +453 -5
  4. package/dist/eslint/base/config.js.map +1 -1
  5. package/dist/eslint/base/rules.js +421 -3
  6. package/dist/eslint/base/rules.js.map +1 -1
  7. package/dist/eslint/constants.d.ts +15 -14
  8. package/dist/eslint/constants.js +21 -3
  9. package/dist/eslint/constants.js.map +1 -1
  10. package/dist/eslint/ignores.js +38 -4
  11. package/dist/eslint/ignores.js.map +1 -1
  12. package/dist/eslint/index.d.ts +5 -0
  13. package/dist/eslint/index.js +1406 -27
  14. package/dist/eslint/index.js.map +1 -1
  15. package/dist/eslint/jsdoc/config.js +105 -5
  16. package/dist/eslint/jsdoc/config.js.map +1 -1
  17. package/dist/eslint/jsdoc/rules.js +69 -3
  18. package/dist/eslint/jsdoc/rules.js.map +1 -1
  19. package/dist/eslint/nextjs/config.d.ts +12 -0
  20. package/dist/eslint/nextjs/config.js +62 -0
  21. package/dist/eslint/nextjs/config.js.map +1 -0
  22. package/dist/eslint/nextjs/rules.d.ts +8 -0
  23. package/dist/eslint/nextjs/rules.js +28 -0
  24. package/dist/eslint/nextjs/rules.js.map +1 -0
  25. package/dist/eslint/nextjs/types.d.ts +29 -0
  26. package/dist/eslint/nextjs/types.js +1 -0
  27. package/dist/eslint/nextjs/types.js.map +1 -0
  28. package/dist/eslint/perfectionist/config.js +61 -5
  29. package/dist/eslint/perfectionist/config.js.map +1 -1
  30. package/dist/eslint/perfectionist/rules.js +27 -3
  31. package/dist/eslint/perfectionist/rules.js.map +1 -1
  32. package/dist/eslint/prefer-arrow-function/config.js +41 -4
  33. package/dist/eslint/prefer-arrow-function/config.js.map +1 -1
  34. package/dist/eslint/react/config.js +182 -5
  35. package/dist/eslint/react/config.js.map +1 -1
  36. package/dist/eslint/react/rules.js +128 -3
  37. package/dist/eslint/react/rules.js.map +1 -1
  38. package/dist/eslint/react-compiler/config.js +35 -4
  39. package/dist/eslint/react-compiler/config.js.map +1 -1
  40. package/dist/eslint/react-refresh/config.js +51 -5
  41. package/dist/eslint/react-refresh/config.js.map +1 -1
  42. package/dist/eslint/react-refresh/rules.js +15 -3
  43. package/dist/eslint/react-refresh/rules.js.map +1 -1
  44. package/dist/eslint/storybook/config.js +63 -4
  45. package/dist/eslint/storybook/config.js.map +1 -1
  46. package/dist/eslint/testing/config.js +165 -6
  47. package/dist/eslint/testing/config.js.map +1 -1
  48. package/dist/eslint/testing/jest-rules.js +40 -3
  49. package/dist/eslint/testing/jest-rules.js.map +1 -1
  50. package/dist/eslint/testing/vitest-rules.js +46 -3
  51. package/dist/eslint/testing/vitest-rules.js.map +1 -1
  52. package/dist/eslint/turbo/config.js +35 -4
  53. package/dist/eslint/turbo/config.js.map +1 -1
  54. package/dist/eslint/types.d.ts +1 -1
  55. package/dist/eslint/typescript/config.js +182 -5
  56. package/dist/eslint/typescript/config.js.map +1 -1
  57. package/dist/eslint/typescript/rules.js +131 -3
  58. package/dist/eslint/typescript/rules.js.map +1 -1
  59. package/dist/eslint/unicorn/config.js +109 -5
  60. package/dist/eslint/unicorn/config.js.map +1 -1
  61. package/dist/eslint/unicorn/rules.js +75 -3
  62. package/dist/eslint/unicorn/rules.js.map +1 -1
  63. package/dist/index.js +1527 -31
  64. package/dist/index.js.map +1 -1
  65. package/dist/prettier/index.js +128 -5
  66. package/dist/prettier/index.js.map +1 -1
  67. package/dist/prettier/patch-tailwind-plugin.js +68 -3
  68. package/dist/prettier/patch-tailwind-plugin.js.map +1 -1
  69. package/dist/utils/is-type.js +19 -8
  70. package/dist/utils/is-type.js.map +1 -1
  71. package/package.json +2 -2
  72. package/dist/chunk-26SVGV32.js +0 -133
  73. package/dist/chunk-26SVGV32.js.map +0 -1
  74. package/dist/chunk-2PDDRRZG.js +0 -21
  75. package/dist/chunk-2PDDRRZG.js.map +0 -1
  76. package/dist/chunk-3SHRYTUT.js +0 -32
  77. package/dist/chunk-3SHRYTUT.js.map +0 -1
  78. package/dist/chunk-6L7EDNAG.js +0 -20
  79. package/dist/chunk-6L7EDNAG.js.map +0 -1
  80. package/dist/chunk-76XASR6Z.js +0 -25
  81. package/dist/chunk-76XASR6Z.js.map +0 -1
  82. package/dist/chunk-7FTTMVPP.js +0 -20
  83. package/dist/chunk-7FTTMVPP.js.map +0 -1
  84. package/dist/chunk-7OLD3L3V.js +0 -64
  85. package/dist/chunk-7OLD3L3V.js.map +0 -1
  86. package/dist/chunk-A6AJGHPQ.js +0 -20
  87. package/dist/chunk-A6AJGHPQ.js.map +0 -1
  88. package/dist/chunk-AV6CI5A5.js +0 -141
  89. package/dist/chunk-AV6CI5A5.js.map +0 -1
  90. package/dist/chunk-CNYUGKH5.js +0 -38
  91. package/dist/chunk-CNYUGKH5.js.map +0 -1
  92. package/dist/chunk-HLIJN23S.js +0 -23
  93. package/dist/chunk-HLIJN23S.js.map +0 -1
  94. package/dist/chunk-HMC2O35U.js +0 -25
  95. package/dist/chunk-HMC2O35U.js.map +0 -1
  96. package/dist/chunk-HOZDQJWG.js +0 -51
  97. package/dist/chunk-HOZDQJWG.js.map +0 -1
  98. package/dist/chunk-LITSWCYQ.js +0 -135
  99. package/dist/chunk-LITSWCYQ.js.map +0 -1
  100. package/dist/chunk-N7AG2EKX.js +0 -48
  101. package/dist/chunk-N7AG2EKX.js.map +0 -1
  102. package/dist/chunk-PSSB4TGO.js +0 -29
  103. package/dist/chunk-PSSB4TGO.js.map +0 -1
  104. package/dist/chunk-SWT2QOL3.js +0 -21
  105. package/dist/chunk-SWT2QOL3.js.map +0 -1
  106. package/dist/chunk-U7AFEGMK.js +0 -23
  107. package/dist/chunk-U7AFEGMK.js.map +0 -1
  108. package/dist/chunk-UHCQX54J.js +0 -68
  109. package/dist/chunk-UHCQX54J.js.map +0 -1
  110. package/dist/chunk-UV6CA4PE.js +0 -45
  111. package/dist/chunk-UV6CA4PE.js.map +0 -1
  112. package/dist/chunk-X7JRY6MS.js +0 -41
  113. package/dist/chunk-X7JRY6MS.js.map +0 -1
  114. package/dist/chunk-XBITZIAZ.js +0 -21
  115. package/dist/chunk-XBITZIAZ.js.map +0 -1
  116. package/dist/chunk-XCPOAYGQ.js +0 -80
  117. package/dist/chunk-XCPOAYGQ.js.map +0 -1
  118. package/dist/chunk-XICOWKSV.js +0 -426
  119. package/dist/chunk-XICOWKSV.js.map +0 -1
  120. package/dist/chunk-YFJ363HR.js +0 -26
  121. package/dist/chunk-YFJ363HR.js.map +0 -1
  122. package/dist/chunk-YZG34ZNI.js +0 -80
  123. package/dist/chunk-YZG34ZNI.js.map +0 -1
  124. package/dist/chunk-ZED5DLW7.js +0 -73
  125. package/dist/chunk-ZED5DLW7.js.map +0 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Nathan Drake
3
+ Copyright (c) 2025 Nathan Drake
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -131,7 +131,7 @@ react: true
131
131
  // you can also pass an object to control react compiler and next support
132
132
  react: {
133
133
  reactCompiler: false,
134
- reactRefresh: false, // Controls React Fast Refresh validation (default: true when react is enabled)
134
+ reactRefresh: false, // Controls React Fast Refresh validation (disabled by default)
135
135
  next: true
136
136
  }
137
137
  // next simply adds ".next" to the ignores array, but I plan add the next plugin in the future
@@ -1,8 +1,456 @@
1
- import {
2
- baseEslintConfig
3
- } from "../../chunk-2PDDRRZG.js";
4
- import "../../chunk-XICOWKSV.js";
5
- import "../../chunk-76XASR6Z.js";
1
+ // src/eslint/constants.ts
2
+ var configNames = {
3
+ base: "base",
4
+ disableTypeChecked: "typescript-eslint/disable-type-checked",
5
+ ignores: "ignores",
6
+ jsdoc: "jsdoc",
7
+ markdown: "markdown",
8
+ nextjs: "nextjs",
9
+ perfectionist: "perfectionist",
10
+ preferArrowFunction: "prefer-arrow-function",
11
+ react: "react",
12
+ reactCompiler: "react-compiler",
13
+ reactRefresh: "react-refresh",
14
+ storybook: "storybook:stories",
15
+ storybookConfig: "storybook:config",
16
+ testing: "testing",
17
+ turbo: "turbo",
18
+ typescript: "tseslint",
19
+ typescriptTesting: "tseslint-testing",
20
+ unicorn: "unicorn"
21
+ };
22
+
23
+ // src/eslint/base/rules.ts
24
+ var baseEslintRules = (functionStyle) => ({
25
+ /**
26
+ * Require return statements in array methods callbacks.
27
+ *
28
+ * 🚫 Not fixable -https://eslint.org/docs/rules/array-callback-return
29
+ */
30
+ "array-callback-return": [
31
+ "warn",
32
+ { allowImplicit: true, checkForEach: true }
33
+ ],
34
+ /**
35
+ * Treat `var` statements as if they were block scoped.
36
+ *
37
+ * 🚫 Not fixable - https://eslint.org/docs/rules/block-scoped-var
38
+ */
39
+ "block-scoped-var": "warn",
40
+ /**
41
+ * Require camel case names.
42
+ *
43
+ * 🚫 Not fixable - https://eslint.org/docs/rules/camelcase
44
+ */
45
+ camelcase: [
46
+ "warn",
47
+ {
48
+ allow: ["^UNSAFE_"],
49
+ ignoreDestructuring: false,
50
+ ignoreImports: true,
51
+ properties: "never"
52
+ }
53
+ ],
54
+ /**
55
+ * Require curly braces for multiline blocks.
56
+ *
57
+ * 🔧 Fixable - https://eslint.org/docs/rules/curly
58
+ */
59
+ curly: ["warn", "multi-line"],
60
+ /**
61
+ * Require default clauses in switch statements to be last (if used).
62
+ *
63
+ * 🚫 Not fixable - https://eslint.org/docs/rules/default-case-last
64
+ */
65
+ "default-case-last": "warn",
66
+ /**
67
+ * Require triple equals (`===` and `!==`).
68
+
69
+ * 🔧 Fixable - https://eslint.org/docs/rules/eqeqeq
70
+ */
71
+ eqeqeq: "warn",
72
+ "for-direction": "warn",
73
+ /**
74
+ * Require function expressions to have a name.
75
+ *
76
+ * 🚫 Not fixable - https://eslint.org/docs/rules/func-names
77
+ */
78
+ "func-names": ["warn", "as-needed"],
79
+ "func-style": (
80
+ // if arrow function, we use the prefer-arrow-functions plugin
81
+ functionStyle === "off" || functionStyle === "arrow" ? "off" : ["warn", functionStyle, { allowArrowFunctions: true }]
82
+ ),
83
+ /**
84
+ * Require grouped accessor pairs in object literals and classes.
85
+ *
86
+ * 🚫 Not fixable - https://eslint.org/docs/rules/grouped-accessor-pairs
87
+ */
88
+ "grouped-accessor-pairs": "warn",
89
+ /**
90
+ * Require a capital letter for constructors.
91
+ *
92
+ * 🚫 Not fixable - https://eslint.org/docs/rules/new-cap
93
+ */
94
+ "new-cap": ["warn", { capIsNew: false }],
95
+ /**
96
+ * Disallow use of `alert()`.
97
+ *
98
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-alert
99
+ */
100
+ "no-alert": "warn",
101
+ "no-async-promise-executor": "warn",
102
+ /**
103
+ * Disallow use of bitwise operators.
104
+ *
105
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-bitwise
106
+ */
107
+ "no-bitwise": "warn",
108
+ /**
109
+ * Disallow use of `caller`/`callee`.
110
+ *
111
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-caller
112
+ */
113
+ "no-caller": "warn",
114
+ "no-case-declarations": "warn",
115
+ "no-compare-neg-zero": "warn",
116
+ "no-cond-assign": "warn",
117
+ /**
118
+ * Disallow the use of console.
119
+ *
120
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-console
121
+ */
122
+ "no-console": ["warn", { allow: ["info", "warn", "error"] }],
123
+ /**
124
+ * Disallow expressions where the operation doesn't affect the value.
125
+ *
126
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-console
127
+ */
128
+ "no-constant-binary-expression": "warn",
129
+ "no-constant-condition": "warn",
130
+ /**
131
+ * Disallow returning value in constructor.
132
+ *
133
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-constructor-return
134
+ */
135
+ "no-constructor-return": "warn",
136
+ "no-control-regex": "warn",
137
+ "no-debugger": "warn",
138
+ "no-delete-var": "warn",
139
+ "no-dupe-else-if": "warn",
140
+ "no-duplicate-case": "warn",
141
+ /**
142
+ * Disallow using an `else` if the `if` block contains a return.
143
+ *
144
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-else-return
145
+ */
146
+ "no-else-return": "warn",
147
+ "no-empty": "warn",
148
+ "no-empty-character-class": "warn",
149
+ "no-empty-pattern": "warn",
150
+ "no-empty-static-block": "warn",
151
+ /**
152
+ * Disallow `eval()`.
153
+ *
154
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-eval
155
+ */
156
+ "no-eval": "warn",
157
+ "no-ex-assign": "warn",
158
+ /**
159
+ * Disallow extending native objects.
160
+ *
161
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-extend-native
162
+ */
163
+ "no-extend-native": "warn",
164
+ /**
165
+ * Disallow unnecessary function binding.
166
+ *
167
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-bind
168
+ */
169
+ "no-extra-bind": "warn",
170
+ "no-extra-boolean-cast": "warn",
171
+ /**
172
+ * Disallow unnecessary labels.
173
+ *
174
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-label
175
+ */
176
+ "no-extra-label": "warn",
177
+ "no-fallthrough": "warn",
178
+ "no-global-assign": "warn",
179
+ /**
180
+ * Make people convert types explicitly e.g. `Boolean(foo)` instead of `!!foo`.
181
+ *
182
+ * 🔧 Partially Fixable - https://eslint.org/docs/rules/no-implicit-coercion
183
+ */
184
+ "no-implicit-coercion": "warn",
185
+ "no-invalid-regexp": "warn",
186
+ "no-irregular-whitespace": "warn",
187
+ /**
188
+ * Disallow usage of `__iterator__` property.
189
+ *
190
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-iterator
191
+ */
192
+ "no-iterator": "warn",
193
+ /**
194
+ * Disallow labels that share a name with a variable.
195
+ *
196
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-label-var
197
+ */
198
+ "no-label-var": "warn",
199
+ /**
200
+ * Disallow use of labels for anything other than loops and switches.
201
+ *
202
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-labels
203
+ */
204
+ "no-labels": ["warn"],
205
+ /**
206
+ * Disallow unnecessary nested blocks.
207
+ *
208
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-lone-blocks
209
+ */
210
+ "no-lone-blocks": "warn",
211
+ /**
212
+ * Disallow if as the only statement in an else block.
213
+ *
214
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-lonely-if
215
+ */
216
+ "no-lonely-if": "warn",
217
+ "no-loss-of-precision": "warn",
218
+ "no-misleading-character-class": "warn",
219
+ /**
220
+ * Disallow use of chained assignment expressions.
221
+ *
222
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-multi-assign
223
+ */
224
+ "no-multi-assign": ["warn"],
225
+ /**
226
+ * Disallow `new` for side effects.
227
+ *
228
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-new
229
+ */
230
+ "no-new": "warn",
231
+ /**
232
+ * Disallow function constructors.
233
+ *
234
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-func
235
+ */
236
+ "no-new-func": "warn",
237
+ /**
238
+ * Disallow primitive wrapper instances, such as `new String('foo')`.
239
+ *
240
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-wrappers
241
+ */
242
+ "no-new-wrappers": "warn",
243
+ "no-nonoctal-decimal-escape": "warn",
244
+ "no-octal": "warn",
245
+ /**
246
+ * Disallow use of octal escape sequences in string literals.
247
+ *
248
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-octal-escape
249
+ */
250
+ "no-octal-escape": "warn",
251
+ /**
252
+ * Disallow reassignment of function parameters.
253
+ *
254
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-param-reassign
255
+ */
256
+ "no-param-reassign": "warn",
257
+ /**
258
+ * Disallow returning values from Promise executor functions.
259
+ *
260
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-promise-executor-return
261
+ */
262
+ "no-promise-executor-return": "warn",
263
+ /**
264
+ * Disallow usage of the deprecated `__proto__` property.
265
+ *
266
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-proto
267
+ */
268
+ "no-proto": "warn",
269
+ "no-prototype-builtins": "warn",
270
+ "no-regex-spaces": "warn",
271
+ /**
272
+ * Disallow assignment in `return` statement.
273
+ *
274
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-return-assign
275
+ */
276
+ "no-return-assign": "warn",
277
+ /**
278
+ * Disallow use of `javascript:` urls.
279
+ *
280
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-script-url
281
+ */
282
+ "no-script-url": "warn",
283
+ "no-self-assign": "warn",
284
+ /**
285
+ * Disallow comparisons where both sides are exactly the same.
286
+ *
287
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-self-compare
288
+ */
289
+ "no-self-compare": "warn",
290
+ /**
291
+ * Disallow use of comma operator.
292
+ *
293
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-sequences
294
+ */
295
+ "no-sequences": "warn",
296
+ "no-shadow-restricted-names": "warn",
297
+ "no-sparse-arrays": "warn",
298
+ /**
299
+ * Disallow template literal placeholder syntax in regular strings, as
300
+ * these are likely errors.
301
+ *
302
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-template-curly-in-string
303
+ */
304
+ "no-template-curly-in-string": "warn",
305
+ /**
306
+ * Disallow initializing variables to `undefined`.
307
+ *
308
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-undef-init
309
+ */
310
+ "no-undef-init": "warn",
311
+ "no-unexpected-multiline": "warn",
312
+ /**
313
+ * Disallow ternary operators when simpler alternatives exist.
314
+ *
315
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-unneeded-ternary
316
+ */
317
+ "no-unneeded-ternary": "warn",
318
+ /**
319
+ * Disallow loops with a body that allows only one iteration.
320
+ *
321
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-unreachable-loop
322
+ */
323
+ "no-unreachable-loop": "warn",
324
+ "no-unsafe-finally": "warn",
325
+ "no-unsafe-optional-chaining": "warn",
326
+ "no-unused-labels": "warn",
327
+ "no-unused-private-class-members": "warn",
328
+ "no-useless-backreference": "warn",
329
+ /**
330
+ * Disallow unnecessary `.call()` and `.apply()`.
331
+ *
332
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-useless-call
333
+ */
334
+ "no-useless-call": "warn",
335
+ "no-useless-catch": "warn",
336
+ /**
337
+ * Disallow useless computed property keys.
338
+ *
339
+ * � Fixable - https://eslint.org/docs/rules/no-useless-computed-key
340
+ */
341
+ "no-useless-computed-key": "warn",
342
+ /**
343
+ * Disallow unnecessary concatenation of strings.
344
+ *
345
+ * � Not fixable - https://eslint.org/docs/rules/no-useless-concat
346
+ */
347
+ "no-useless-concat": "warn",
348
+ "no-useless-escape": "warn",
349
+ /**
350
+ * Disallow renaming import, export, and destructured assignments to the
351
+ * same name.
352
+ *
353
+ * � Fixable - https://eslint.org/docs/rules/no-useless-rename
354
+ */
355
+ "no-useless-rename": "warn",
356
+ /**
357
+ * Disallow redundant return statements.
358
+ *
359
+ * � Fixable - https://eslint.org/docs/rules/no-useless-return
360
+ */
361
+ "no-useless-return": "warn",
362
+ /**
363
+ * Require `let` or `const` instead of `var`.
364
+ * ts transpiles let/const to var, so no need for vars any more
365
+ *
366
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-var
367
+ */
368
+ "no-var": "warn",
369
+ "no-with": "warn",
370
+ /**
371
+ * Require object literal shorthand syntax.
372
+ *
373
+ * 🔧 Fixable - https://eslint.org/docs/rules/object-shorthand
374
+ */
375
+ "object-shorthand": "warn",
376
+ /**
377
+ * Require default to `const` instead of `let`.
378
+ * ts provides better types with const
379
+ *
380
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-const
381
+ */
382
+ "prefer-const": "warn",
383
+ /**
384
+ * Require using named capture groups in regular expressions.
385
+ *
386
+ * � Not fixable - https://eslint.org/docs/rules/prefer-named-capture-group
387
+ */
388
+ "prefer-named-capture-group": "warn",
389
+ /**
390
+ * Disallow parseInt() in favor of binary, octal, and hexadecimal literals.
391
+ *
392
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-numeric-literals
393
+ */
394
+ "prefer-numeric-literals": "warn",
395
+ /**
396
+ * Require use of an object spread over Object.assign.
397
+ *
398
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-object-spread
399
+ */
400
+ "prefer-object-spread": "warn",
401
+ /**
402
+ * Disallow use of the RegExp constructor in favor of regular expression
403
+ * literals.
404
+ *
405
+ * � Not fixable - https://eslint.org/docs/rules/prefer-regex-literals
406
+ */
407
+ "prefer-regex-literals": "warn",
408
+ /**
409
+ * Require using rest parameters instead of `arguments`.
410
+ * ts provides better types with rest args over arguments
411
+ *
412
+ * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-rest-params
413
+ */
414
+ "prefer-rest-params": "warn",
415
+ /**
416
+ * Require using spread syntax instead of `.apply()`.
417
+ * ts transpiles spread to apply, so no need for manual apply
418
+ *
419
+ * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-spread
420
+ */
421
+ "prefer-spread": "warn",
422
+ /**
423
+ * Require using template literals instead of string concatenation.
424
+ *
425
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-template
426
+ */
427
+ "prefer-template": "warn",
428
+ "require-yield": "warn",
429
+ /**
430
+ * Require a `Symbol` description.
431
+ *
432
+ * 🚫 Not fixable - https://eslint.org/docs/rules/symbol-description
433
+ */
434
+ "symbol-description": "warn",
435
+ "use-isnan": "warn",
436
+ "valid-typeof": "warn",
437
+ /**
438
+ * Disallow "Yoda conditions", ensuring the comparison.
439
+ *
440
+ * 🔧 Fixable - https://eslint.org/docs/rules/yoda
441
+ */
442
+ yoda: "warn"
443
+ });
444
+
445
+ // src/eslint/base/config.ts
446
+ var baseEslintConfig = (functionStyle) => ({
447
+ languageOptions: {
448
+ ecmaVersion: 2022
449
+ },
450
+ linterOptions: { reportUnusedDisableDirectives: true },
451
+ name: configNames.base,
452
+ rules: baseEslintRules(functionStyle)
453
+ });
6
454
  export {
7
455
  baseEslintConfig
8
456
  };
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
1
+ {"version":3,"sources":["../../../src/eslint/constants.ts","../../../src/eslint/base/rules.ts","../../../src/eslint/base/config.ts"],"sourcesContent":["/**\n * Debug names for ESLint configuration objects.\n * These names help identify different configuration sections in ESLint's debug output\n * and error messages, making it easier to track which rules come from which config.\n */\nexport const configNames = {\n base: \"base\",\n disableTypeChecked: \"typescript-eslint/disable-type-checked\",\n ignores: \"ignores\",\n jsdoc: \"jsdoc\",\n markdown: \"markdown\",\n nextjs: \"nextjs\",\n perfectionist: \"perfectionist\",\n preferArrowFunction: \"prefer-arrow-function\",\n react: \"react\",\n reactCompiler: \"react-compiler\",\n reactRefresh: \"react-refresh\",\n storybook: \"storybook:stories\",\n storybookConfig: \"storybook:config\",\n testing: \"testing\",\n turbo: \"turbo\",\n typescript: \"tseslint\",\n typescriptTesting: \"tseslint-testing\",\n unicorn: \"unicorn\",\n} as const;\n\nexport type ConfigName = (typeof configNames)[keyof typeof configNames];\n","import type { FunctionStyle } from \"../types.js\";\nimport type { BaseRules } from \"./types.js\";\n\n/**\n * Generates the base set of ESLint rules with configurable function style enforcement.\n *\n * @param functionStyle - Controls how functions should be written. Can be:\n * - \"off\": Disables function style enforcement\n * - \"arrow\": Enforces arrow function expressions\n * - \"declaration\": Enforces function declarations\n * - \"expression\": Enforces function expressions\n * @returns An object containing ESLint rule configurations\n */\nexport const baseEslintRules = (\n functionStyle: \"off\" | FunctionStyle,\n): BaseRules => ({\n /**\n * Require return statements in array methods callbacks.\n *\n * 🚫 Not fixable -https://eslint.org/docs/rules/array-callback-return\n */\n \"array-callback-return\": [\n \"warn\",\n { allowImplicit: true, checkForEach: true },\n ],\n /**\n * Treat `var` statements as if they were block scoped.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/block-scoped-var\n */\n \"block-scoped-var\": \"warn\",\n /**\n * Require camel case names.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/camelcase\n */\n camelcase: [\n \"warn\",\n {\n allow: [\"^UNSAFE_\"],\n ignoreDestructuring: false,\n ignoreImports: true,\n properties: \"never\",\n },\n ],\n /**\n * Require curly braces for multiline blocks.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/curly\n */\n curly: [\"warn\", \"multi-line\"],\n /**\n * Require default clauses in switch statements to be last (if used).\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/default-case-last\n */\n \"default-case-last\": \"warn\",\n /**\n * Require triple equals (`===` and `!==`).\n *å\n * 🔧 Fixable - https://eslint.org/docs/rules/eqeqeq\n */\n eqeqeq: \"warn\",\n \"for-direction\": \"warn\",\n /**\n * Require function expressions to have a name.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/func-names\n */\n \"func-names\": [\"warn\", \"as-needed\"],\n \"func-style\":\n // if arrow function, we use the prefer-arrow-functions plugin\n functionStyle === \"off\" || functionStyle === \"arrow\" ?\n \"off\"\n : [\"warn\", functionStyle, { allowArrowFunctions: true }],\n /**\n * Require grouped accessor pairs in object literals and classes.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/grouped-accessor-pairs\n */\n \"grouped-accessor-pairs\": \"warn\",\n /**\n * Require a capital letter for constructors.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/new-cap\n */\n \"new-cap\": [\"warn\", { capIsNew: false }],\n /**\n * Disallow use of `alert()`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-alert\n */\n \"no-alert\": \"warn\",\n \"no-async-promise-executor\": \"warn\",\n /**\n * Disallow use of bitwise operators.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-bitwise\n */\n \"no-bitwise\": \"warn\",\n /**\n * Disallow use of `caller`/`callee`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-caller\n */\n \"no-caller\": \"warn\",\n \"no-case-declarations\": \"warn\",\n \"no-compare-neg-zero\": \"warn\",\n \"no-cond-assign\": \"warn\",\n /**\n * Disallow the use of console.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-console\n */\n \"no-console\": [\"warn\", { allow: [\"info\", \"warn\", \"error\"] }],\n /**\n * Disallow expressions where the operation doesn't affect the value.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-console\n */\n \"no-constant-binary-expression\": \"warn\",\n \"no-constant-condition\": \"warn\",\n /**\n * Disallow returning value in constructor.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-constructor-return\n */\n \"no-constructor-return\": \"warn\",\n \"no-control-regex\": \"warn\",\n \"no-debugger\": \"warn\",\n \"no-delete-var\": \"warn\",\n \"no-dupe-else-if\": \"warn\",\n \"no-duplicate-case\": \"warn\",\n /**\n * Disallow using an `else` if the `if` block contains a return.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-else-return\n */\n \"no-else-return\": \"warn\",\n \"no-empty\": \"warn\",\n \"no-empty-character-class\": \"warn\",\n \"no-empty-pattern\": \"warn\",\n \"no-empty-static-block\": \"warn\",\n /**\n * Disallow `eval()`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-eval\n */\n \"no-eval\": \"warn\",\n \"no-ex-assign\": \"warn\",\n /**\n * Disallow extending native objects.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-extend-native\n */\n \"no-extend-native\": \"warn\",\n /**\n * Disallow unnecessary function binding.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-bind\n */\n \"no-extra-bind\": \"warn\",\n \"no-extra-boolean-cast\": \"warn\",\n /**\n * Disallow unnecessary labels.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-label\n */\n \"no-extra-label\": \"warn\",\n \"no-fallthrough\": \"warn\",\n \"no-global-assign\": \"warn\",\n /**\n * Make people convert types explicitly e.g. `Boolean(foo)` instead of `!!foo`.\n *\n * 🔧 Partially Fixable - https://eslint.org/docs/rules/no-implicit-coercion\n */\n \"no-implicit-coercion\": \"warn\",\n \"no-invalid-regexp\": \"warn\",\n \"no-irregular-whitespace\": \"warn\",\n /**\n * Disallow usage of `__iterator__` property.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-iterator\n */\n \"no-iterator\": \"warn\",\n /**\n * Disallow labels that share a name with a variable.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-label-var\n */\n \"no-label-var\": \"warn\",\n /**\n * Disallow use of labels for anything other than loops and switches.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-labels\n */\n \"no-labels\": [\"warn\"],\n /**\n * Disallow unnecessary nested blocks.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-lone-blocks\n */\n \"no-lone-blocks\": \"warn\",\n /**\n * Disallow if as the only statement in an else block.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-lonely-if\n */\n \"no-lonely-if\": \"warn\",\n \"no-loss-of-precision\": \"warn\",\n \"no-misleading-character-class\": \"warn\",\n /**\n * Disallow use of chained assignment expressions.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-multi-assign\n */\n \"no-multi-assign\": [\"warn\"],\n /**\n * Disallow `new` for side effects.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-new\n */\n \"no-new\": \"warn\",\n /**\n * Disallow function constructors.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-func\n */\n \"no-new-func\": \"warn\",\n /**\n * Disallow primitive wrapper instances, such as `new String('foo')`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-wrappers\n */\n \"no-new-wrappers\": \"warn\",\n \"no-nonoctal-decimal-escape\": \"warn\",\n \"no-octal\": \"warn\",\n /**\n * Disallow use of octal escape sequences in string literals.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-octal-escape\n */\n \"no-octal-escape\": \"warn\",\n /**\n * Disallow reassignment of function parameters.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-param-reassign\n */\n \"no-param-reassign\": \"warn\",\n /**\n * Disallow returning values from Promise executor functions.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-promise-executor-return\n */\n \"no-promise-executor-return\": \"warn\",\n /**\n * Disallow usage of the deprecated `__proto__` property.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-proto\n */\n \"no-proto\": \"warn\",\n \"no-prototype-builtins\": \"warn\",\n \"no-regex-spaces\": \"warn\",\n /**\n * Disallow assignment in `return` statement.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-return-assign\n */\n \"no-return-assign\": \"warn\",\n /**\n * Disallow use of `javascript:` urls.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-script-url\n */\n \"no-script-url\": \"warn\",\n \"no-self-assign\": \"warn\",\n /**\n * Disallow comparisons where both sides are exactly the same.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-self-compare\n */\n \"no-self-compare\": \"warn\",\n /**\n * Disallow use of comma operator.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-sequences\n */\n \"no-sequences\": \"warn\",\n \"no-shadow-restricted-names\": \"warn\",\n \"no-sparse-arrays\": \"warn\",\n /**\n * Disallow template literal placeholder syntax in regular strings, as\n * these are likely errors.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-template-curly-in-string\n */\n \"no-template-curly-in-string\": \"warn\",\n /**\n * Disallow initializing variables to `undefined`.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-undef-init\n */\n \"no-undef-init\": \"warn\",\n \"no-unexpected-multiline\": \"warn\",\n /**\n * Disallow ternary operators when simpler alternatives exist.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-unneeded-ternary\n */\n \"no-unneeded-ternary\": \"warn\",\n /**\n * Disallow loops with a body that allows only one iteration.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-unreachable-loop\n */\n \"no-unreachable-loop\": \"warn\",\n \"no-unsafe-finally\": \"warn\",\n \"no-unsafe-optional-chaining\": \"warn\",\n \"no-unused-labels\": \"warn\",\n \"no-unused-private-class-members\": \"warn\",\n \"no-useless-backreference\": \"warn\",\n /**\n * Disallow unnecessary `.call()` and `.apply()`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-useless-call\n */\n \"no-useless-call\": \"warn\",\n \"no-useless-catch\": \"warn\",\n /**\n * Disallow useless computed property keys.\n *\n * � Fixable - https://eslint.org/docs/rules/no-useless-computed-key\n */\n \"no-useless-computed-key\": \"warn\",\n /**\n * Disallow unnecessary concatenation of strings.\n *\n * � Not fixable - https://eslint.org/docs/rules/no-useless-concat\n */\n \"no-useless-concat\": \"warn\",\n \"no-useless-escape\": \"warn\",\n /**\n * Disallow renaming import, export, and destructured assignments to the\n * same name.\n *\n * � Fixable - https://eslint.org/docs/rules/no-useless-rename\n */\n \"no-useless-rename\": \"warn\",\n /**\n * Disallow redundant return statements.\n *\n * � Fixable - https://eslint.org/docs/rules/no-useless-return\n */\n \"no-useless-return\": \"warn\",\n /**\n * Require `let` or `const` instead of `var`.\n * ts transpiles let/const to var, so no need for vars any more\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-var\n */\n \"no-var\": \"warn\",\n \"no-with\": \"warn\",\n /**\n * Require object literal shorthand syntax.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/object-shorthand\n */\n \"object-shorthand\": \"warn\",\n /**\n * Require default to `const` instead of `let`.\n * ts provides better types with const\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-const\n */\n \"prefer-const\": \"warn\",\n /**\n * Require using named capture groups in regular expressions.\n *\n * � Not fixable - https://eslint.org/docs/rules/prefer-named-capture-group\n */\n \"prefer-named-capture-group\": \"warn\",\n /**\n * Disallow parseInt() in favor of binary, octal, and hexadecimal literals.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-numeric-literals\n */\n \"prefer-numeric-literals\": \"warn\",\n /**\n * Require use of an object spread over Object.assign.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-object-spread\n */\n \"prefer-object-spread\": \"warn\",\n /**\n * Disallow use of the RegExp constructor in favor of regular expression\n * literals.\n *\n * � Not fixable - https://eslint.org/docs/rules/prefer-regex-literals\n */\n \"prefer-regex-literals\": \"warn\",\n /**\n * Require using rest parameters instead of `arguments`.\n * ts provides better types with rest args over arguments\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-rest-params\n */\n \"prefer-rest-params\": \"warn\",\n /**\n * Require using spread syntax instead of `.apply()`.\n * ts transpiles spread to apply, so no need for manual apply\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-spread\n */\n \"prefer-spread\": \"warn\",\n /**\n * Require using template literals instead of string concatenation.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-template\n */\n \"prefer-template\": \"warn\",\n \"require-yield\": \"warn\",\n /**\n * Require a `Symbol` description.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/symbol-description\n */\n \"symbol-description\": \"warn\",\n \"use-isnan\": \"warn\",\n \"valid-typeof\": \"warn\",\n /**\n * Disallow \"Yoda conditions\", ensuring the comparison.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/yoda\n */\n yoda: \"warn\",\n});\n","import type { EslintConfigObject, FunctionStyle } from \"../types.js\";\n\nimport { configNames } from \"../constants.js\";\nimport { baseEslintRules } from \"./rules.js\";\n\n/**\n * Creates a base ESLint configuration object with specified function style rules.\n *\n * @param functionStyle - Controls how functions should be written. Can be:\n * - \"off\": Disables function style enforcement\n * - \"arrow\": Enforces arrow function expressions\n * - \"declaration\": Enforces function declarations\n * - \"expression\": Enforces function expressions\n * @returns ESLint configuration object\n */\nexport const baseEslintConfig = (\n functionStyle: \"off\" | FunctionStyle,\n): EslintConfigObject => ({\n languageOptions: {\n ecmaVersion: 2022,\n },\n linterOptions: { reportUnusedDisableDirectives: true },\n name: configNames.base,\n rules: baseEslintRules(functionStyle),\n});\n"],"mappings":";AAKO,IAAM,cAAc;AAAA,EACzB,MAAM;AAAA,EACN,oBAAoB;AAAA,EACpB,SAA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