@greenberry/linting-config 0.1.36

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/LICENCE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Greenberry
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,64 @@
1
+ # Greenberry linting-config
2
+
3
+ ESLint and Prettier bundle for all things Greenberry.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i -D @greenberry/linting-config
9
+ ```
10
+
11
+ ## NextJS
12
+
13
+ > ⚠️ Requires `@next/eslint-plugin-next`
14
+
15
+ `eslint.config.js`:
16
+
17
+ ```js
18
+ import { eslintConfig } from "@greenberry/linting-config";
19
+
20
+ const config = [...eslintConfig];
21
+
22
+ export default config;
23
+ ```
24
+
25
+ `prettier.config.js`:
26
+
27
+ ```js
28
+ import { prettierConfig } from "@greenberry/linting-config";
29
+
30
+ const config = {
31
+ ...prettierConfig,
32
+ };
33
+
34
+ export default config;
35
+ ```
36
+
37
+ `stylelint.config`:
38
+
39
+ > ⚠️ Beta `
40
+
41
+ ```js
42
+ import { stylelintConfig } from "@greenberry/linting-config";
43
+
44
+ const config = {
45
+ ...stylelintConfig,
46
+ };
47
+
48
+ export default config;
49
+ ```
50
+
51
+ > ❗️ Deprecated `
52
+ `eslint.config.json`:
53
+ ⚠️ Required next ^15.0.0 and eslint ^9.0.0 `
54
+
55
+ ```bash
56
+ npm i -D @greenberry/linting-config
57
+
58
+ ```js
59
+ import eslintConfig from "@greenberry/linting-config/dist/legacy/eslint.config.js";
60
+
61
+ const config = [...eslintConfig];
62
+
63
+ export default config;
64
+ ```
@@ -0,0 +1,329 @@
1
+ export default config;
2
+ declare const config: ({
3
+ files: string[];
4
+ languageOptions: {
5
+ parser: typeof tsParser;
6
+ parserOptions: {
7
+ ecmaVersion: string;
8
+ sourceType: string;
9
+ ecmaFeatures: {
10
+ jsx: boolean;
11
+ };
12
+ project: string;
13
+ };
14
+ };
15
+ plugins: {
16
+ "@typescript-eslint": {
17
+ configs: Record<string, import("@typescript-eslint/utils/ts-eslint").ClassicConfig.Config>;
18
+ meta: import("@typescript-eslint/utils/ts-eslint").FlatConfig.PluginMeta;
19
+ rules: typeof import("@typescript-eslint/eslint-plugin/use-at-your-own-risk/rules");
20
+ };
21
+ react: {
22
+ deprecatedRules: Partial<{
23
+ 'boolean-prop-naming': import("eslint").Rule.RuleModule;
24
+ 'button-has-type': import("eslint").Rule.RuleModule;
25
+ 'checked-requires-onchange-or-readonly': import("eslint").Rule.RuleModule;
26
+ 'default-props-match-prop-types': import("eslint").Rule.RuleModule;
27
+ 'destructuring-assignment': import("eslint").Rule.RuleModule;
28
+ 'display-name': import("eslint").Rule.RuleModule;
29
+ 'forbid-component-props': import("eslint").Rule.RuleModule;
30
+ 'forbid-dom-props': import("eslint").Rule.RuleModule;
31
+ 'forbid-elements': import("eslint").Rule.RuleModule;
32
+ 'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
33
+ 'forbid-prop-types': import("eslint").Rule.RuleModule;
34
+ 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
35
+ 'function-component-definition': import("eslint").Rule.RuleModule;
36
+ 'hook-use-state': import("eslint").Rule.RuleModule;
37
+ 'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
38
+ 'jsx-boolean-value': import("eslint").Rule.RuleModule;
39
+ 'jsx-child-element-spacing': import("eslint").Rule.RuleModule;
40
+ 'jsx-closing-bracket-location': import("eslint").Rule.RuleModule;
41
+ 'jsx-closing-tag-location': import("eslint").Rule.RuleModule;
42
+ 'jsx-curly-spacing': import("eslint").Rule.RuleModule;
43
+ 'jsx-curly-newline': import("eslint").Rule.RuleModule;
44
+ 'jsx-equals-spacing': import("eslint").Rule.RuleModule;
45
+ 'jsx-filename-extension': import("eslint").Rule.RuleModule;
46
+ 'jsx-first-prop-new-line': import("eslint").Rule.RuleModule;
47
+ 'jsx-handler-names': import("eslint").Rule.RuleModule;
48
+ 'jsx-indent': import("eslint").Rule.RuleModule;
49
+ 'jsx-indent-props': import("eslint").Rule.RuleModule;
50
+ 'jsx-key': import("eslint").Rule.RuleModule;
51
+ 'jsx-max-depth': import("eslint").Rule.RuleModule;
52
+ 'jsx-max-props-per-line': import("eslint").Rule.RuleModule;
53
+ 'jsx-newline': import("eslint").Rule.RuleModule;
54
+ 'jsx-no-bind': import("eslint").Rule.RuleModule;
55
+ 'jsx-no-comment-textnodes': import("eslint").Rule.RuleModule;
56
+ 'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
57
+ 'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
58
+ 'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
59
+ 'jsx-no-literals': import("eslint").Rule.RuleModule;
60
+ 'jsx-no-script-url': import("eslint").Rule.RuleModule;
61
+ 'jsx-no-target-blank': import("eslint").Rule.RuleModule;
62
+ 'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
63
+ 'jsx-one-expression-per-line': import("eslint").Rule.RuleModule;
64
+ 'jsx-no-undef': import("eslint").Rule.RuleModule;
65
+ 'jsx-curly-brace-presence': import("eslint").Rule.RuleModule;
66
+ 'jsx-pascal-case': import("eslint").Rule.RuleModule;
67
+ 'jsx-fragments': import("eslint").Rule.RuleModule;
68
+ 'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
69
+ 'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
70
+ 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
71
+ 'jsx-sort-default-props': import("eslint").Rule.RuleModule;
72
+ 'jsx-sort-props': import("eslint").Rule.RuleModule;
73
+ 'jsx-space-before-closing': import("eslint").Rule.RuleModule;
74
+ 'jsx-tag-spacing': import("eslint").Rule.RuleModule;
75
+ 'jsx-uses-react': import("eslint").Rule.RuleModule;
76
+ 'jsx-uses-vars': import("eslint").Rule.RuleModule;
77
+ 'jsx-wrap-multilines': import("eslint").Rule.RuleModule;
78
+ 'no-invalid-html-attribute': import("eslint").Rule.RuleModule;
79
+ 'no-access-state-in-setstate': import("eslint").Rule.RuleModule;
80
+ 'no-adjacent-inline-elements': import("eslint").Rule.RuleModule;
81
+ 'no-array-index-key': import("eslint").Rule.RuleModule;
82
+ 'no-arrow-function-lifecycle': import("eslint").Rule.RuleModule;
83
+ 'no-children-prop': import("eslint").Rule.RuleModule;
84
+ 'no-danger': import("eslint").Rule.RuleModule;
85
+ 'no-danger-with-children': import("eslint").Rule.RuleModule;
86
+ 'no-deprecated': import("eslint").Rule.RuleModule;
87
+ 'no-did-mount-set-state': import("eslint").Rule.RuleModule;
88
+ 'no-did-update-set-state': import("eslint").Rule.RuleModule;
89
+ 'no-direct-mutation-state': import("eslint").Rule.RuleModule;
90
+ 'no-find-dom-node': import("eslint").Rule.RuleModule;
91
+ 'no-is-mounted': import("eslint").Rule.RuleModule;
92
+ 'no-multi-comp': import("eslint").Rule.RuleModule;
93
+ 'no-namespace': import("eslint").Rule.RuleModule;
94
+ 'no-set-state': import("eslint").Rule.RuleModule;
95
+ 'no-string-refs': import("eslint").Rule.RuleModule;
96
+ 'no-redundant-should-component-update': import("eslint").Rule.RuleModule;
97
+ 'no-render-return-value': import("eslint").Rule.RuleModule;
98
+ 'no-this-in-sfc': import("eslint").Rule.RuleModule;
99
+ 'no-typos': import("eslint").Rule.RuleModule;
100
+ 'no-unescaped-entities': import("eslint").Rule.RuleModule;
101
+ 'no-unknown-property': import("eslint").Rule.RuleModule;
102
+ 'no-unsafe': import("eslint").Rule.RuleModule;
103
+ 'no-unstable-nested-components': import("eslint").Rule.RuleModule;
104
+ 'no-unused-class-component-methods': import("eslint").Rule.RuleModule;
105
+ 'no-unused-prop-types': import("eslint").Rule.RuleModule;
106
+ 'no-unused-state': import("eslint").Rule.RuleModule;
107
+ 'no-object-type-as-default-prop': import("eslint").Rule.RuleModule;
108
+ 'no-will-update-set-state': import("eslint").Rule.RuleModule;
109
+ 'prefer-es6-class': import("eslint").Rule.RuleModule;
110
+ 'prefer-exact-props': import("eslint").Rule.RuleModule;
111
+ 'prefer-read-only-props': import("eslint").Rule.RuleModule;
112
+ 'prefer-stateless-function': import("eslint").Rule.RuleModule;
113
+ 'prop-types': import("eslint").Rule.RuleModule;
114
+ 'react-in-jsx-scope': import("eslint").Rule.RuleModule;
115
+ 'require-default-props': import("eslint").Rule.RuleModule;
116
+ 'require-optimization': import("eslint").Rule.RuleModule;
117
+ 'require-render-return': import("eslint").Rule.RuleModule;
118
+ 'self-closing-comp': import("eslint").Rule.RuleModule;
119
+ 'sort-comp': import("eslint").Rule.RuleModule;
120
+ 'sort-default-props': import("eslint").Rule.RuleModule;
121
+ 'sort-prop-types': import("eslint").Rule.RuleModule;
122
+ 'state-in-constructor': import("eslint").Rule.RuleModule;
123
+ 'static-property-placement': import("eslint").Rule.RuleModule;
124
+ 'style-prop-object': import("eslint").Rule.RuleModule;
125
+ 'void-dom-elements-no-children': import("eslint").Rule.RuleModule;
126
+ }>;
127
+ rules: {
128
+ 'boolean-prop-naming': import("eslint").Rule.RuleModule;
129
+ 'button-has-type': import("eslint").Rule.RuleModule;
130
+ 'checked-requires-onchange-or-readonly': import("eslint").Rule.RuleModule;
131
+ 'default-props-match-prop-types': import("eslint").Rule.RuleModule;
132
+ 'destructuring-assignment': import("eslint").Rule.RuleModule;
133
+ 'display-name': import("eslint").Rule.RuleModule;
134
+ 'forbid-component-props': import("eslint").Rule.RuleModule;
135
+ 'forbid-dom-props': import("eslint").Rule.RuleModule;
136
+ 'forbid-elements': import("eslint").Rule.RuleModule;
137
+ 'forbid-foreign-prop-types': import("eslint").Rule.RuleModule;
138
+ 'forbid-prop-types': import("eslint").Rule.RuleModule;
139
+ 'forward-ref-uses-ref': import("eslint").Rule.RuleModule;
140
+ 'function-component-definition': import("eslint").Rule.RuleModule;
141
+ 'hook-use-state': import("eslint").Rule.RuleModule;
142
+ 'iframe-missing-sandbox': import("eslint").Rule.RuleModule;
143
+ 'jsx-boolean-value': import("eslint").Rule.RuleModule;
144
+ 'jsx-child-element-spacing': import("eslint").Rule.RuleModule;
145
+ 'jsx-closing-bracket-location': import("eslint").Rule.RuleModule;
146
+ 'jsx-closing-tag-location': import("eslint").Rule.RuleModule;
147
+ 'jsx-curly-spacing': import("eslint").Rule.RuleModule;
148
+ 'jsx-curly-newline': import("eslint").Rule.RuleModule;
149
+ 'jsx-equals-spacing': import("eslint").Rule.RuleModule;
150
+ 'jsx-filename-extension': import("eslint").Rule.RuleModule;
151
+ 'jsx-first-prop-new-line': import("eslint").Rule.RuleModule;
152
+ 'jsx-handler-names': import("eslint").Rule.RuleModule;
153
+ 'jsx-indent': import("eslint").Rule.RuleModule;
154
+ 'jsx-indent-props': import("eslint").Rule.RuleModule;
155
+ 'jsx-key': import("eslint").Rule.RuleModule;
156
+ 'jsx-max-depth': import("eslint").Rule.RuleModule;
157
+ 'jsx-max-props-per-line': import("eslint").Rule.RuleModule;
158
+ 'jsx-newline': import("eslint").Rule.RuleModule;
159
+ 'jsx-no-bind': import("eslint").Rule.RuleModule;
160
+ 'jsx-no-comment-textnodes': import("eslint").Rule.RuleModule;
161
+ 'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule;
162
+ 'jsx-no-duplicate-props': import("eslint").Rule.RuleModule;
163
+ 'jsx-no-leaked-render': import("eslint").Rule.RuleModule;
164
+ 'jsx-no-literals': import("eslint").Rule.RuleModule;
165
+ 'jsx-no-script-url': import("eslint").Rule.RuleModule;
166
+ 'jsx-no-target-blank': import("eslint").Rule.RuleModule;
167
+ 'jsx-no-useless-fragment': import("eslint").Rule.RuleModule;
168
+ 'jsx-one-expression-per-line': import("eslint").Rule.RuleModule;
169
+ 'jsx-no-undef': import("eslint").Rule.RuleModule;
170
+ 'jsx-curly-brace-presence': import("eslint").Rule.RuleModule;
171
+ 'jsx-pascal-case': import("eslint").Rule.RuleModule;
172
+ 'jsx-fragments': import("eslint").Rule.RuleModule;
173
+ 'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule;
174
+ 'jsx-props-no-spreading': import("eslint").Rule.RuleModule;
175
+ 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule;
176
+ 'jsx-sort-default-props': import("eslint").Rule.RuleModule;
177
+ 'jsx-sort-props': import("eslint").Rule.RuleModule;
178
+ 'jsx-space-before-closing': import("eslint").Rule.RuleModule;
179
+ 'jsx-tag-spacing': import("eslint").Rule.RuleModule;
180
+ 'jsx-uses-react': import("eslint").Rule.RuleModule;
181
+ 'jsx-uses-vars': import("eslint").Rule.RuleModule;
182
+ 'jsx-wrap-multilines': import("eslint").Rule.RuleModule;
183
+ 'no-invalid-html-attribute': import("eslint").Rule.RuleModule;
184
+ 'no-access-state-in-setstate': import("eslint").Rule.RuleModule;
185
+ 'no-adjacent-inline-elements': import("eslint").Rule.RuleModule;
186
+ 'no-array-index-key': import("eslint").Rule.RuleModule;
187
+ 'no-arrow-function-lifecycle': import("eslint").Rule.RuleModule;
188
+ 'no-children-prop': import("eslint").Rule.RuleModule;
189
+ 'no-danger': import("eslint").Rule.RuleModule;
190
+ 'no-danger-with-children': import("eslint").Rule.RuleModule;
191
+ 'no-deprecated': import("eslint").Rule.RuleModule;
192
+ 'no-did-mount-set-state': import("eslint").Rule.RuleModule;
193
+ 'no-did-update-set-state': import("eslint").Rule.RuleModule;
194
+ 'no-direct-mutation-state': import("eslint").Rule.RuleModule;
195
+ 'no-find-dom-node': import("eslint").Rule.RuleModule;
196
+ 'no-is-mounted': import("eslint").Rule.RuleModule;
197
+ 'no-multi-comp': import("eslint").Rule.RuleModule;
198
+ 'no-namespace': import("eslint").Rule.RuleModule;
199
+ 'no-set-state': import("eslint").Rule.RuleModule;
200
+ 'no-string-refs': import("eslint").Rule.RuleModule;
201
+ 'no-redundant-should-component-update': import("eslint").Rule.RuleModule;
202
+ 'no-render-return-value': import("eslint").Rule.RuleModule;
203
+ 'no-this-in-sfc': import("eslint").Rule.RuleModule;
204
+ 'no-typos': import("eslint").Rule.RuleModule;
205
+ 'no-unescaped-entities': import("eslint").Rule.RuleModule;
206
+ 'no-unknown-property': import("eslint").Rule.RuleModule;
207
+ 'no-unsafe': import("eslint").Rule.RuleModule;
208
+ 'no-unstable-nested-components': import("eslint").Rule.RuleModule;
209
+ 'no-unused-class-component-methods': import("eslint").Rule.RuleModule;
210
+ 'no-unused-prop-types': import("eslint").Rule.RuleModule;
211
+ 'no-unused-state': import("eslint").Rule.RuleModule;
212
+ 'no-object-type-as-default-prop': import("eslint").Rule.RuleModule;
213
+ 'no-will-update-set-state': import("eslint").Rule.RuleModule;
214
+ 'prefer-es6-class': import("eslint").Rule.RuleModule;
215
+ 'prefer-exact-props': import("eslint").Rule.RuleModule;
216
+ 'prefer-read-only-props': import("eslint").Rule.RuleModule;
217
+ 'prefer-stateless-function': import("eslint").Rule.RuleModule;
218
+ 'prop-types': import("eslint").Rule.RuleModule;
219
+ 'react-in-jsx-scope': import("eslint").Rule.RuleModule;
220
+ 'require-default-props': import("eslint").Rule.RuleModule;
221
+ 'require-optimization': import("eslint").Rule.RuleModule;
222
+ 'require-render-return': import("eslint").Rule.RuleModule;
223
+ 'self-closing-comp': import("eslint").Rule.RuleModule;
224
+ 'sort-comp': import("eslint").Rule.RuleModule;
225
+ 'sort-default-props': import("eslint").Rule.RuleModule;
226
+ 'sort-prop-types': import("eslint").Rule.RuleModule;
227
+ 'state-in-constructor': import("eslint").Rule.RuleModule;
228
+ 'static-property-placement': import("eslint").Rule.RuleModule;
229
+ 'style-prop-object': import("eslint").Rule.RuleModule;
230
+ 'void-dom-elements-no-children': import("eslint").Rule.RuleModule;
231
+ };
232
+ configs: {
233
+ recommended: {
234
+ plugins: ["react"];
235
+ parserOptions: {
236
+ ecmaFeatures: {
237
+ jsx: boolean;
238
+ };
239
+ };
240
+ rules: {
241
+ "react/display-name": 2;
242
+ "react/jsx-key": 2;
243
+ "react/jsx-no-comment-textnodes": 2;
244
+ "react/jsx-no-duplicate-props": 2;
245
+ "react/jsx-no-target-blank": 2;
246
+ "react/jsx-no-undef": 2;
247
+ "react/jsx-uses-react": 2;
248
+ "react/jsx-uses-vars": 2;
249
+ "react/no-children-prop": 2;
250
+ "react/no-danger-with-children": 2;
251
+ "react/no-deprecated": 2;
252
+ "react/no-direct-mutation-state": 2;
253
+ "react/no-find-dom-node": 2;
254
+ "react/no-is-mounted": 2;
255
+ "react/no-render-return-value": 2;
256
+ "react/no-string-refs": 2;
257
+ "react/no-unescaped-entities": 2;
258
+ "react/no-unknown-property": 2;
259
+ "react/no-unsafe": 0;
260
+ "react/prop-types": 2;
261
+ "react/react-in-jsx-scope": 2;
262
+ "react/require-render-return": 2;
263
+ };
264
+ };
265
+ all: {
266
+ plugins: ["react"];
267
+ parserOptions: {
268
+ ecmaFeatures: {
269
+ jsx: boolean;
270
+ };
271
+ };
272
+ rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
273
+ };
274
+ 'jsx-runtime': {
275
+ plugins: ["react"];
276
+ parserOptions: {
277
+ ecmaFeatures: {
278
+ jsx: boolean;
279
+ };
280
+ jsxPragma: any;
281
+ };
282
+ rules: {
283
+ "react/react-in-jsx-scope": 0;
284
+ "react/jsx-uses-react": 0;
285
+ };
286
+ };
287
+ flat: Record<string, reactPlugin.ReactFlatConfig>;
288
+ } & {
289
+ flat: Record<string, reactPlugin.ReactFlatConfig>;
290
+ };
291
+ };
292
+ "react-hooks": any;
293
+ import: any;
294
+ unicorn: import("eslint").ESLint.Plugin & {
295
+ configs: {
296
+ recommended: import("eslint").Linter.Config;
297
+ all: import("eslint").Linter.Config;
298
+ "flat/all": import("eslint").Linter.FlatConfig;
299
+ "flat/recommended": import("eslint").Linter.FlatConfig;
300
+ };
301
+ };
302
+ "@next/next": any;
303
+ "jsx-a11y": any;
304
+ prettier: import("eslint").ESLint.Plugin;
305
+ "react-compiler": any;
306
+ };
307
+ settings: {
308
+ 'import/resolver': {
309
+ typescript: {
310
+ project: string;
311
+ };
312
+ };
313
+ react: {
314
+ version: string;
315
+ };
316
+ };
317
+ rules: any;
318
+ ignores?: undefined;
319
+ } | {
320
+ ignores: string[];
321
+ files?: undefined;
322
+ languageOptions?: undefined;
323
+ plugins?: undefined;
324
+ settings?: undefined;
325
+ rules?: undefined;
326
+ })[];
327
+ import tsParser from "@typescript-eslint/parser";
328
+ import reactPlugin from "eslint-plugin-react";
329
+ //# sourceMappingURL=eslint.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;;;;;;;;;;;8CASU,QAAG;0CAEiB,QAC5B;gEAII,QAAM;yDAED,QA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AD;wDAEM,QAAQ;4DAAmE,QAAQ;+CAAsD,QAAQ;0CAGtJ,QAAI;yDAEM,QAAO;mDAA0D,QAAQ;2CAGlF,QAAQ;6CAEJ,QAAQ;iDAAwD,QAAQ;oDAGtE,QAAQ;qCACnB,QAAG;6CAGH,QAAC;gDAIG,QAAQ;+CAIT,QAAQ;gDACgC,QAAQ;4CAAmD,QAAQ;oCAA2C,QAAQ;6CAAoD,QAAQ;0CAAiD,QAAQ;+CAAsD,QAAQ;oDAA2D,QAAQ;4CAAmD,QAAQ;wDAA+D,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAH7hB;qBA3LmB,2BAA2B;wBAIxB,qBAAqB"}
@@ -0,0 +1,181 @@
1
+ import nextPlugin from "@next/eslint-plugin-next";
2
+ import tsPlugin from "@typescript-eslint/eslint-plugin";
3
+ import tsParser from "@typescript-eslint/parser";
4
+ import importPlugin from "eslint-plugin-import";
5
+ import jsxA11yPlugin from "eslint-plugin-jsx-a11y";
6
+ import prettierPlugin from "eslint-plugin-prettier";
7
+ import reactPlugin from "eslint-plugin-react";
8
+ import reactHooksPlugin from "eslint-plugin-react-hooks";
9
+ import unicornPlugin from "eslint-plugin-unicorn";
10
+ import reactCompilerPlugin from "eslint-plugin-react-compiler";
11
+ const config = [
12
+ {
13
+ files: ["**/*.{js,mjs,cjs,jsx,ts,tsx,svg}"],
14
+ languageOptions: {
15
+ parser: tsParser,
16
+ parserOptions: {
17
+ ecmaVersion: "latest",
18
+ sourceType: "module",
19
+ ecmaFeatures: {
20
+ jsx: true,
21
+ },
22
+ project: "./tsconfig.json",
23
+ },
24
+ },
25
+ plugins: {
26
+ "@typescript-eslint": tsPlugin,
27
+ react: reactPlugin,
28
+ "react-hooks": reactHooksPlugin,
29
+ import: importPlugin,
30
+ unicorn: unicornPlugin,
31
+ "@next/next": nextPlugin,
32
+ "jsx-a11y": jsxA11yPlugin,
33
+ prettier: prettierPlugin,
34
+ "react-compiler": reactCompilerPlugin
35
+ },
36
+ settings: {
37
+ 'import/resolver': {
38
+ typescript: {
39
+ project: './tsconfig.json',
40
+ },
41
+ },
42
+ react: {
43
+ version: "detect",
44
+ },
45
+ },
46
+ rules: {
47
+ // Include recommended rules
48
+ // @ts-ignore
49
+ ...reactPlugin.configs["jsx-runtime"].rules,
50
+ ...reactHooksPlugin.configs.recommended.rules,
51
+ ...jsxA11yPlugin.configs.recommended.rules,
52
+ ...nextPlugin.configs["core-web-vitals"].rules,
53
+ // TypeScript rules
54
+ "@typescript-eslint/array-type": ["error", { default: "array" }],
55
+ "@typescript-eslint/ban-ts-comment": "off",
56
+ "@typescript-eslint/consistent-type-assertions": "error",
57
+ "@typescript-eslint/explicit-member-accessibility": "error",
58
+ "@typescript-eslint/explicit-module-boundary-types": "off",
59
+ "@typescript-eslint/no-explicit-any": "error",
60
+ "@typescript-eslint/no-inferrable-types": "off",
61
+ "@typescript-eslint/no-unused-vars": ["error", { vars: "all" }],
62
+ "@typescript-eslint/no-use-before-define": [
63
+ "error",
64
+ { functions: false },
65
+ ],
66
+ "@typescript-eslint/prefer-readonly": "error",
67
+ "@typescript-eslint/no-non-null-assertion": "off",
68
+ "@typescript-eslint/consistent-type-imports": ["error", {
69
+ "prefer": "type-imports",
70
+ "disallowTypeAnnotations": false
71
+ }],
72
+ // React rules
73
+ "react/jsx-boolean-value": "error",
74
+ "react/jsx-curly-brace-presence": [
75
+ "error",
76
+ { props: "never", children: "never" },
77
+ ],
78
+ "react/jsx-filename-extension": [
79
+ "error",
80
+ { extensions: [".jsx", ".tsx"] },
81
+ ],
82
+ "react/no-array-index-key": "error",
83
+ "react/no-unused-prop-types": "error",
84
+ "react/no-unused-state": "error",
85
+ "react/void-dom-elements-no-children": "error",
86
+ "react-hooks/exhaustive-deps": "error",
87
+ "react/no-object-type-as-default-prop": "error",
88
+ 'react-compiler/react-compiler': "error",
89
+ // Import rules
90
+ "import/extensions": [
91
+ "error",
92
+ "ignorePackages",
93
+ {
94
+ js: "always",
95
+ jsx: "always",
96
+ ts: "always",
97
+ tsx: "always",
98
+ scss: "always",
99
+ }
100
+ ],
101
+ "import/prefer-default-export": "off",
102
+ "import/no-extraneous-dependencies": [
103
+ "error",
104
+ {
105
+ devDependencies: [
106
+ "**/*.stories.@(js|jsx|ts|tsx|mdx)",
107
+ "**/*.test.@(js|jsx|ts|tsx)",
108
+ "**/*.spec.@(js|jsx|ts|tsx)",
109
+ "**/*.config.@(js|ts)",
110
+ "**/*.setup.@(js|ts)",
111
+ "*.json",
112
+ ],
113
+ },
114
+ ],
115
+ // Unicorn rules
116
+ "unicorn/catch-error-name": "error",
117
+ "unicorn/error-message": "error",
118
+ "unicorn/escape-case": "error",
119
+ "unicorn/explicit-length-check": "error",
120
+ "unicorn/new-for-builtins": "error",
121
+ "unicorn/no-abusive-eslint-disable": "error",
122
+ "unicorn/no-array-instanceof": "error",
123
+ "unicorn/no-console-spaces": "error",
124
+ "unicorn/no-for-loop": "error",
125
+ "unicorn/no-hex-escape": "error",
126
+ "unicorn/no-new-buffer": "error",
127
+ "unicorn/no-unreadable-array-destructuring": "error",
128
+ "unicorn/no-zero-fractions": "error",
129
+ "unicorn/number-literal-case": "error",
130
+ "unicorn/prefer-exponentiation-operator": "error",
131
+ "unicorn/prefer-includes": "error",
132
+ "unicorn/prefer-node-remove": "error",
133
+ "unicorn/prefer-query-selector": "error",
134
+ "unicorn/prefer-starts-ends-with": "error",
135
+ "unicorn/prefer-text-content": "error",
136
+ "unicorn/prefer-type-error": "error",
137
+ "unicorn/throw-new-error": "error",
138
+ // Next.js specific rules
139
+ "@next/next/no-html-link-for-pages": "error",
140
+ "@next/next/no-img-element": "error",
141
+ "@next/next/no-unwanted-polyfillio": "error",
142
+ "@next/next/no-sync-scripts": "error",
143
+ "@next/next/no-script-component-in-head": "error",
144
+ "@next/next/google-font-display": "error",
145
+ "@next/next/google-font-preconnect": "error",
146
+ "@next/next/next-script-for-ga": "error",
147
+ "@next/next/no-typos": "error",
148
+ "@next/next/no-duplicate-head": "error",
149
+ // Other rules
150
+ "jsx-a11y/alt-text": "error",
151
+ "jsx-a11y/media-has-caption": "warn",
152
+ "no-unused-expressions": "error",
153
+ "no-inner-declarations": "error",
154
+ "no-process-env": "error",
155
+ "no-restricted-syntax": [
156
+ "error",
157
+ {
158
+ selector: "ForInStatement",
159
+ message: "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.",
160
+ },
161
+ {
162
+ selector: "LabeledStatement",
163
+ message: "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.",
164
+ },
165
+ {
166
+ selector: "WithStatement",
167
+ message: "`with` is disallowed in strict mode because it makes code impossible to predict and optimize.",
168
+ },
169
+ ],
170
+ "no-console": ["warn", { allow: ["warn", "error", "info"] }],
171
+ curly: ["error", "all"],
172
+ // Prettier integration
173
+ "prettier/prettier": "error",
174
+ },
175
+ },
176
+ {
177
+ ignores: [".next/*", "coverage/*", "src/env.ts"],
178
+ },
179
+ ];
180
+ export default config;
181
+ //# sourceMappingURL=eslint.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AACjD,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAC;AACpD,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,gBAAgB,MAAM,2BAA2B,CAAC;AACzD,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAClD,OAAO,mBAAmB,MAAM,8BAA8B,CAAC;AAE/D,MAAM,MAAM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AAC;YAC5D,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC;YAEvB,uBAAuB;YACvB,mBAAmB,EAAE,OAAO;SAC7B;KACF;IACD;QACE,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,YAAY,CAAC;KACjD;CACF,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,5 @@
1
+ import eslintConfig from './eslint.config.js';
2
+ import prettierConfig from './prettier.config.js';
3
+ import stylelintConfig from './stylelint.config.js';
4
+ export { eslintConfig, prettierConfig, stylelintConfig };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,eAAe,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import eslintConfig from './eslint.config.js';
2
+ import prettierConfig from './prettier.config.js';
3
+ import stylelintConfig from './stylelint.config.js';
4
+ export { eslintConfig, prettierConfig, stylelintConfig };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,eAAe,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}