@santi020k/eslint-config-basic 0.1.0 → 0.4.0
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/dist/index.d.ts +21 -0
- package/dist/index.js +129 -0
- package/package.json +47 -50
- package/.agent/rules/context.md +0 -78
- package/.agent/rules/guidelines.md +0 -124
- package/.editorconfig +0 -13
- package/.env.example +0 -8
- package/.github/CODEOWNERS +0 -2
- package/.github/DISCUSSION_TEMPLATE/rfcs.yml +0 -21
- package/.github/DISCUSSION_TEMPLATE/technical-discussions.yml +0 -21
- package/.github/FUNDING.yml +0 -2
- package/.github/ISSUE_TEMPLATE/README.md +0 -13
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -69
- package/.github/ISSUE_TEMPLATE/config.yml +0 -8
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -43
- package/.github/ISSUE_TEMPLATE/question.yml +0 -22
- package/.github/SECURITY.md +0 -12
- package/.github/SPONSORSHIPS.md +0 -27
- package/.github/dependabot.yml +0 -45
- package/.github/labeler.yml +0 -46
- package/.github/pull_request_template.md +0 -56
- package/.github/workflows/assign-issues.yml +0 -18
- package/.github/workflows/audit.yml +0 -22
- package/.github/workflows/build.yml +0 -29
- package/.github/workflows/codeql.yml +0 -40
- package/.github/workflows/docs.yml +0 -49
- package/.github/workflows/labeler.yml +0 -18
- package/.github/workflows/publish.yml +0 -24
- package/.github/workflows/release.yml +0 -35
- package/.github/workflows/size-check.yml +0 -23
- package/.github/workflows/stale.yml +0 -31
- package/.nvmrc +0 -1
- package/.vscode/extensions.json +0 -10
- package/.vscode/settings.json +0 -55
- package/CHANGELOG.md +0 -16
- package/CONTRIBUTING.md +0 -194
- package/DEVELOPMENT.md +0 -4
- package/LICENSE +0 -21
- package/README.md +0 -275
- package/config/.husky/commit-msg +0 -9
- package/config/.husky/pre-commit +0 -1
- package/config/.husky/pre-push +0 -1
- package/config/.husky/prepare-commit-msg +0 -1
- package/cspell.config.yaml +0 -2
- package/eslint.config.js +0 -21
- package/llms.txt +0 -72
- package/packages/astro/README.md +0 -13
- package/packages/astro/package.json +0 -45
- package/packages/astro/src/ambient.d.ts +0 -10
- package/packages/astro/src/index.ts +0 -18
- package/packages/astro/src/rules.ts +0 -29
- package/packages/astro/tsconfig.json +0 -9
- package/packages/astro/tsup.config.ts +0 -11
- package/packages/basic/README.md +0 -33
- package/packages/basic/package.json +0 -55
- package/packages/basic/src/index.ts +0 -110
- package/packages/basic/tsconfig.json +0 -9
- package/packages/basic/tsup.config.ts +0 -18
- package/packages/core/README.md +0 -14
- package/packages/core/index.ts +0 -14
- package/packages/core/package.json +0 -61
- package/packages/core/src/ambient.d.ts +0 -61
- package/packages/core/src/index.ts +0 -75
- package/packages/core/src/rules.ts +0 -157
- package/packages/core/src/settings/gitignore.ts +0 -10
- package/packages/core/src/settings/index.ts +0 -1
- package/packages/core/src/types.ts +0 -57
- package/packages/core/src/utils/index.ts +0 -28
- package/packages/core/tsconfig.json +0 -9
- package/packages/core/tsup.config.ts +0 -10
- package/packages/expo/README.md +0 -13
- package/packages/expo/package.json +0 -48
- package/packages/expo/src/ambient.d.ts +0 -3
- package/packages/expo/src/index.ts +0 -39
- package/packages/expo/tsconfig.json +0 -9
- package/packages/expo/tsup.config.ts +0 -11
- package/packages/nest/package.json +0 -45
- package/packages/nest/src/ambient.d.ts +0 -14
- package/packages/nest/src/index.ts +0 -20
- package/packages/nest/src/rules.ts +0 -15
- package/packages/nest/tsconfig.json +0 -9
- package/packages/nest/tsup.config.ts +0 -11
- package/packages/next/README.md +0 -13
- package/packages/next/package.json +0 -47
- package/packages/next/src/index.ts +0 -31
- package/packages/next/src/rules.ts +0 -16
- package/packages/next/tsconfig.json +0 -9
- package/packages/next/tsup.config.ts +0 -10
- package/packages/optionals/README.md +0 -18
- package/packages/optionals/package.json +0 -55
- package/packages/optionals/src/ambient.d.ts +0 -25
- package/packages/optionals/src/cspell.ts +0 -14
- package/packages/optionals/src/i18next.ts +0 -19
- package/packages/optionals/src/index.ts +0 -8
- package/packages/optionals/src/markdown.ts +0 -66
- package/packages/optionals/src/mdx.ts +0 -40
- package/packages/optionals/src/stencil.ts +0 -48
- package/packages/optionals/src/tailwind.ts +0 -11
- package/packages/optionals/src/vitest.ts +0 -61
- package/packages/optionals/tsconfig.json +0 -9
- package/packages/optionals/tsup.config.ts +0 -11
- package/packages/playground/README.md +0 -14
- package/packages/playground/package.json +0 -17
- package/packages/playground/src/astro/eslint.config.js +0 -4
- package/packages/playground/src/js/eslint.config.js +0 -4
- package/packages/playground/src/js/index.test.js +0 -63
- package/packages/playground/src/mdx/eslint.config.js +0 -4
- package/packages/playground/src/mdx/index.mdx +0 -115
- package/packages/playground/src/react/eslint.config.js +0 -4
- package/packages/playground/src/react/index.test.jsx +0 -130
- package/packages/playground/src/ts/eslint.config.js +0 -4
- package/packages/playground/src/ts/index.test.ts +0 -61
- package/packages/playground/src/ts/tsconfig.json +0 -3
- package/packages/playground/tsconfig.json +0 -9
- package/packages/react/README.md +0 -14
- package/packages/react/index.ts +0 -26
- package/packages/react/package.json +0 -49
- package/packages/react/src/ambient.d.ts +0 -23
- package/packages/react/src/index.ts +0 -52
- package/packages/react/src/rules.ts +0 -47
- package/packages/react/tsconfig.json +0 -9
- package/packages/react/tsup.config.ts +0 -10
- package/packages/tests/README.md +0 -17
- package/packages/tests/package.json +0 -21
- package/packages/tests/src/__snapshots__/snapshots.test.ts.snap +0 -654
- package/packages/tests/src/composition.test.ts +0 -171
- package/packages/tests/src/configs.test.ts +0 -118
- package/packages/tests/src/rules.test.ts +0 -60
- package/packages/tests/src/snapshots.test.ts +0 -126
- package/packages/tests/tsconfig.json +0 -10
- package/packages/tests/vitest.config.ts +0 -8
- package/packages/typescript/README.md +0 -14
- package/packages/typescript/package.json +0 -47
- package/packages/typescript/src/index.ts +0 -32
- package/packages/typescript/src/rules.ts +0 -36
- package/packages/typescript/tsconfig.json +0 -9
- package/packages/typescript/tsup.config.ts +0 -10
- package/tsconfig.base.json +0 -20
- package/tsconfig.docs.json +0 -18
- package/turbo.json +0 -19
- package/typedoc.config.mjs +0 -25
- package/typedoc.markdown.mjs +0 -26
|
@@ -1,654 +0,0 @@
|
|
|
1
|
-
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
-
|
|
3
|
-
exports[`Config Snapshots — Entry Names > astro config entries should match snapshot 1`] = `
|
|
4
|
-
[
|
|
5
|
-
"astro/base",
|
|
6
|
-
"astro/base/javascript",
|
|
7
|
-
"astro/base/plugin",
|
|
8
|
-
"astro/base/typescript",
|
|
9
|
-
"astro/recommended",
|
|
10
|
-
"eslint-config-astro/custom",
|
|
11
|
-
]
|
|
12
|
-
`;
|
|
13
|
-
|
|
14
|
-
exports[`Config Snapshots — Entry Names > core config entries should match snapshot 1`] = `
|
|
15
|
-
[
|
|
16
|
-
"eslint-config/custom-js",
|
|
17
|
-
"eslint-config/plugins",
|
|
18
|
-
"eslint-config/recommended",
|
|
19
|
-
"eslint-config/stylistic",
|
|
20
|
-
]
|
|
21
|
-
`;
|
|
22
|
-
|
|
23
|
-
exports[`Config Snapshots — Entry Names > expo config entries should match snapshot 1`] = `
|
|
24
|
-
[
|
|
25
|
-
"eslint-config-expo/custom",
|
|
26
|
-
]
|
|
27
|
-
`;
|
|
28
|
-
|
|
29
|
-
exports[`Config Snapshots — Entry Names > nest config entries should match snapshot 1`] = `
|
|
30
|
-
[
|
|
31
|
-
"@darraghor/nestjs-typed/base",
|
|
32
|
-
"@darraghor/nestjs-typed/recommended",
|
|
33
|
-
"eslint-config-nest/custom",
|
|
34
|
-
]
|
|
35
|
-
`;
|
|
36
|
-
|
|
37
|
-
exports[`Config Snapshots — Entry Names > next config entries should match snapshot 1`] = `
|
|
38
|
-
[
|
|
39
|
-
"eslint-config-next/custom",
|
|
40
|
-
"eslint-config-next/ignores",
|
|
41
|
-
"eslint-config-next/plugin",
|
|
42
|
-
]
|
|
43
|
-
`;
|
|
44
|
-
|
|
45
|
-
exports[`Config Snapshots — Entry Names > react config entries should match snapshot 1`] = `
|
|
46
|
-
[
|
|
47
|
-
"eslint-config-react/custom",
|
|
48
|
-
"eslint-config-react/recommended",
|
|
49
|
-
]
|
|
50
|
-
`;
|
|
51
|
-
|
|
52
|
-
exports[`Config Snapshots — Entry Names > typescript config entries should match snapshot 1`] = `
|
|
53
|
-
[
|
|
54
|
-
"eslint-config-typescript/rules",
|
|
55
|
-
"typescript-eslint/base",
|
|
56
|
-
"typescript-eslint/eslint-recommended",
|
|
57
|
-
"typescript-eslint/stylistic",
|
|
58
|
-
]
|
|
59
|
-
`;
|
|
60
|
-
|
|
61
|
-
exports[`Config Snapshots — Rule Names > astro config rules should match snapshot 1`] = `
|
|
62
|
-
[
|
|
63
|
-
"@stylistic/jsx-indent",
|
|
64
|
-
"@stylistic/jsx-one-expression-per-line",
|
|
65
|
-
"@stylistic/jsx-tag-spacing",
|
|
66
|
-
"astro/missing-client-only-directive-value",
|
|
67
|
-
"astro/no-conflict-set-directives",
|
|
68
|
-
"astro/no-deprecated-astro-canonicalurl",
|
|
69
|
-
"astro/no-deprecated-astro-fetchcontent",
|
|
70
|
-
"astro/no-deprecated-astro-resolve",
|
|
71
|
-
"astro/no-deprecated-getentrybyslug",
|
|
72
|
-
"astro/no-unused-define-vars-in-style",
|
|
73
|
-
"astro/valid-compile",
|
|
74
|
-
"prettier/prettier",
|
|
75
|
-
"react/destructuring-assignment",
|
|
76
|
-
"react/jsx-filename-extension",
|
|
77
|
-
"react/jsx-key",
|
|
78
|
-
"react/jsx-props-no-spreading",
|
|
79
|
-
"react/no-unknown-property",
|
|
80
|
-
"react/react-in-jsx-scope",
|
|
81
|
-
"react/require-default-props",
|
|
82
|
-
"simple-import-sort/imports",
|
|
83
|
-
]
|
|
84
|
-
`;
|
|
85
|
-
|
|
86
|
-
exports[`Config Snapshots — Rule Names > core config rules should match snapshot 1`] = `
|
|
87
|
-
[
|
|
88
|
-
"@stylistic/array-bracket-spacing",
|
|
89
|
-
"@stylistic/array-element-newline",
|
|
90
|
-
"@stylistic/arrow-parens",
|
|
91
|
-
"@stylistic/arrow-spacing",
|
|
92
|
-
"@stylistic/block-spacing",
|
|
93
|
-
"@stylistic/brace-style",
|
|
94
|
-
"@stylistic/comma-dangle",
|
|
95
|
-
"@stylistic/comma-spacing",
|
|
96
|
-
"@stylistic/comma-style",
|
|
97
|
-
"@stylistic/computed-property-spacing",
|
|
98
|
-
"@stylistic/dot-location",
|
|
99
|
-
"@stylistic/eol-last",
|
|
100
|
-
"@stylistic/function-call-argument-newline",
|
|
101
|
-
"@stylistic/function-paren-newline",
|
|
102
|
-
"@stylistic/generator-star-spacing",
|
|
103
|
-
"@stylistic/implicit-arrow-linebreak",
|
|
104
|
-
"@stylistic/indent",
|
|
105
|
-
"@stylistic/indent-binary-ops",
|
|
106
|
-
"@stylistic/jsx-closing-bracket-location",
|
|
107
|
-
"@stylistic/jsx-closing-tag-location",
|
|
108
|
-
"@stylistic/jsx-curly-brace-presence",
|
|
109
|
-
"@stylistic/jsx-curly-newline",
|
|
110
|
-
"@stylistic/jsx-curly-spacing",
|
|
111
|
-
"@stylistic/jsx-equals-spacing",
|
|
112
|
-
"@stylistic/jsx-first-prop-new-line",
|
|
113
|
-
"@stylistic/jsx-function-call-newline",
|
|
114
|
-
"@stylistic/jsx-indent-props",
|
|
115
|
-
"@stylistic/jsx-max-props-per-line",
|
|
116
|
-
"@stylistic/jsx-one-expression-per-line",
|
|
117
|
-
"@stylistic/jsx-quotes",
|
|
118
|
-
"@stylistic/jsx-tag-spacing",
|
|
119
|
-
"@stylistic/jsx-wrap-multilines",
|
|
120
|
-
"@stylistic/key-spacing",
|
|
121
|
-
"@stylistic/keyword-spacing",
|
|
122
|
-
"@stylistic/lines-around-comment",
|
|
123
|
-
"@stylistic/lines-between-class-members",
|
|
124
|
-
"@stylistic/max-len",
|
|
125
|
-
"@stylistic/max-statements-per-line",
|
|
126
|
-
"@stylistic/member-delimiter-style",
|
|
127
|
-
"@stylistic/multiline-comment-style",
|
|
128
|
-
"@stylistic/multiline-ternary",
|
|
129
|
-
"@stylistic/new-parens",
|
|
130
|
-
"@stylistic/no-extra-parens",
|
|
131
|
-
"@stylistic/no-extra-semi",
|
|
132
|
-
"@stylistic/no-floating-decimal",
|
|
133
|
-
"@stylistic/no-mixed-operators",
|
|
134
|
-
"@stylistic/no-mixed-spaces-and-tabs",
|
|
135
|
-
"@stylistic/no-multi-spaces",
|
|
136
|
-
"@stylistic/no-multiple-empty-lines",
|
|
137
|
-
"@stylistic/no-tabs",
|
|
138
|
-
"@stylistic/no-trailing-spaces",
|
|
139
|
-
"@stylistic/no-whitespace-before-property",
|
|
140
|
-
"@stylistic/object-curly-spacing",
|
|
141
|
-
"@stylistic/object-property-newline",
|
|
142
|
-
"@stylistic/operator-linebreak",
|
|
143
|
-
"@stylistic/padded-blocks",
|
|
144
|
-
"@stylistic/padding-line-between-statements",
|
|
145
|
-
"@stylistic/quote-props",
|
|
146
|
-
"@stylistic/quotes",
|
|
147
|
-
"@stylistic/rest-spread-spacing",
|
|
148
|
-
"@stylistic/semi",
|
|
149
|
-
"@stylistic/semi-spacing",
|
|
150
|
-
"@stylistic/space-before-blocks",
|
|
151
|
-
"@stylistic/space-before-function-paren",
|
|
152
|
-
"@stylistic/space-in-parens",
|
|
153
|
-
"@stylistic/space-infix-ops",
|
|
154
|
-
"@stylistic/space-unary-ops",
|
|
155
|
-
"@stylistic/spaced-comment",
|
|
156
|
-
"@stylistic/template-curly-spacing",
|
|
157
|
-
"@stylistic/template-tag-spacing",
|
|
158
|
-
"@stylistic/type-annotation-spacing",
|
|
159
|
-
"@stylistic/type-generic-spacing",
|
|
160
|
-
"@stylistic/type-named-tuple-spacing",
|
|
161
|
-
"@stylistic/wrap-iife",
|
|
162
|
-
"@stylistic/yield-star-spacing",
|
|
163
|
-
"accessor-pairs",
|
|
164
|
-
"array-bracket-spacing",
|
|
165
|
-
"array-callback-return",
|
|
166
|
-
"arrow-body-style",
|
|
167
|
-
"arrow-spacing",
|
|
168
|
-
"block-spacing",
|
|
169
|
-
"brace-style",
|
|
170
|
-
"camelcase",
|
|
171
|
-
"comma-dangle",
|
|
172
|
-
"comma-spacing",
|
|
173
|
-
"comma-style",
|
|
174
|
-
"computed-property-spacing",
|
|
175
|
-
"constructor-super",
|
|
176
|
-
"curly",
|
|
177
|
-
"default-case-last",
|
|
178
|
-
"dot-location",
|
|
179
|
-
"dot-notation",
|
|
180
|
-
"eol-last",
|
|
181
|
-
"eqeqeq",
|
|
182
|
-
"for-direction",
|
|
183
|
-
"func-call-spacing",
|
|
184
|
-
"func-style",
|
|
185
|
-
"generator-star-spacing",
|
|
186
|
-
"getter-return",
|
|
187
|
-
"import/export",
|
|
188
|
-
"import/first",
|
|
189
|
-
"import/no-absolute-path",
|
|
190
|
-
"import/no-duplicates",
|
|
191
|
-
"import/no-named-default",
|
|
192
|
-
"import/no-webpack-loader-syntax",
|
|
193
|
-
"indent",
|
|
194
|
-
"jsx-a11y/alt-text",
|
|
195
|
-
"key-spacing",
|
|
196
|
-
"keyword-spacing",
|
|
197
|
-
"lines-between-class-members",
|
|
198
|
-
"multiline-ternary",
|
|
199
|
-
"n/handle-callback-err",
|
|
200
|
-
"n/no-callback-literal",
|
|
201
|
-
"n/no-deprecated-api",
|
|
202
|
-
"n/no-exports-assign",
|
|
203
|
-
"n/no-new-require",
|
|
204
|
-
"n/no-path-concat",
|
|
205
|
-
"n/process-exit-as-throw",
|
|
206
|
-
"new-cap",
|
|
207
|
-
"new-parens",
|
|
208
|
-
"no-array-constructor",
|
|
209
|
-
"no-async-promise-executor",
|
|
210
|
-
"no-caller",
|
|
211
|
-
"no-case-declarations",
|
|
212
|
-
"no-class-assign",
|
|
213
|
-
"no-compare-neg-zero",
|
|
214
|
-
"no-cond-assign",
|
|
215
|
-
"no-const-assign",
|
|
216
|
-
"no-constant-binary-expression",
|
|
217
|
-
"no-constant-condition",
|
|
218
|
-
"no-control-regex",
|
|
219
|
-
"no-debugger",
|
|
220
|
-
"no-delete-var",
|
|
221
|
-
"no-dupe-args",
|
|
222
|
-
"no-dupe-class-members",
|
|
223
|
-
"no-dupe-else-if",
|
|
224
|
-
"no-dupe-keys",
|
|
225
|
-
"no-duplicate-case",
|
|
226
|
-
"no-empty",
|
|
227
|
-
"no-empty-character-class",
|
|
228
|
-
"no-empty-pattern",
|
|
229
|
-
"no-empty-static-block",
|
|
230
|
-
"no-eval",
|
|
231
|
-
"no-ex-assign",
|
|
232
|
-
"no-extend-native",
|
|
233
|
-
"no-extra-bind",
|
|
234
|
-
"no-extra-boolean-cast",
|
|
235
|
-
"no-extra-parens",
|
|
236
|
-
"no-fallthrough",
|
|
237
|
-
"no-floating-decimal",
|
|
238
|
-
"no-func-assign",
|
|
239
|
-
"no-global-assign",
|
|
240
|
-
"no-implied-eval",
|
|
241
|
-
"no-import-assign",
|
|
242
|
-
"no-invalid-regexp",
|
|
243
|
-
"no-irregular-whitespace",
|
|
244
|
-
"no-iterator",
|
|
245
|
-
"no-labels",
|
|
246
|
-
"no-lone-blocks",
|
|
247
|
-
"no-loss-of-precision",
|
|
248
|
-
"no-misleading-character-class",
|
|
249
|
-
"no-mixed-operators",
|
|
250
|
-
"no-mixed-spaces-and-tabs",
|
|
251
|
-
"no-multi-spaces",
|
|
252
|
-
"no-multi-str",
|
|
253
|
-
"no-multiple-empty-lines",
|
|
254
|
-
"no-nested-ternary",
|
|
255
|
-
"no-new",
|
|
256
|
-
"no-new-func",
|
|
257
|
-
"no-new-native-nonconstructor",
|
|
258
|
-
"no-new-object",
|
|
259
|
-
"no-new-symbol",
|
|
260
|
-
"no-new-wrappers",
|
|
261
|
-
"no-nonoctal-decimal-escape",
|
|
262
|
-
"no-obj-calls",
|
|
263
|
-
"no-octal",
|
|
264
|
-
"no-octal-escape",
|
|
265
|
-
"no-proto",
|
|
266
|
-
"no-prototype-builtins",
|
|
267
|
-
"no-redeclare",
|
|
268
|
-
"no-regex-spaces",
|
|
269
|
-
"no-return-assign",
|
|
270
|
-
"no-self-assign",
|
|
271
|
-
"no-self-compare",
|
|
272
|
-
"no-sequences",
|
|
273
|
-
"no-setter-return",
|
|
274
|
-
"no-shadow-restricted-names",
|
|
275
|
-
"no-sparse-arrays",
|
|
276
|
-
"no-tabs",
|
|
277
|
-
"no-template-curly-in-string",
|
|
278
|
-
"no-this-before-super",
|
|
279
|
-
"no-throw-literal",
|
|
280
|
-
"no-trailing-spaces",
|
|
281
|
-
"no-undef",
|
|
282
|
-
"no-undef-init",
|
|
283
|
-
"no-unexpected-multiline",
|
|
284
|
-
"no-unmodified-loop-condition",
|
|
285
|
-
"no-unneeded-ternary",
|
|
286
|
-
"no-unreachable",
|
|
287
|
-
"no-unreachable-loop",
|
|
288
|
-
"no-unsafe-finally",
|
|
289
|
-
"no-unsafe-negation",
|
|
290
|
-
"no-unsafe-optional-chaining",
|
|
291
|
-
"no-unused-expressions",
|
|
292
|
-
"no-unused-labels",
|
|
293
|
-
"no-unused-private-class-members",
|
|
294
|
-
"no-unused-vars",
|
|
295
|
-
"no-use-before-define",
|
|
296
|
-
"no-useless-backreference",
|
|
297
|
-
"no-useless-call",
|
|
298
|
-
"no-useless-catch",
|
|
299
|
-
"no-useless-computed-key",
|
|
300
|
-
"no-useless-constructor",
|
|
301
|
-
"no-useless-escape",
|
|
302
|
-
"no-useless-rename",
|
|
303
|
-
"no-useless-return",
|
|
304
|
-
"no-var",
|
|
305
|
-
"no-void",
|
|
306
|
-
"no-whitespace-before-property",
|
|
307
|
-
"no-with",
|
|
308
|
-
"object-curly-newline",
|
|
309
|
-
"object-curly-spacing",
|
|
310
|
-
"object-property-newline",
|
|
311
|
-
"object-shorthand",
|
|
312
|
-
"one-var",
|
|
313
|
-
"operator-linebreak",
|
|
314
|
-
"padded-blocks",
|
|
315
|
-
"prefer-arrow-callback",
|
|
316
|
-
"prefer-const",
|
|
317
|
-
"prefer-promise-reject-errors",
|
|
318
|
-
"prefer-regex-literals",
|
|
319
|
-
"promise/param-names",
|
|
320
|
-
"quote-props",
|
|
321
|
-
"quotes",
|
|
322
|
-
"require-yield",
|
|
323
|
-
"rest-spread-spacing",
|
|
324
|
-
"semi",
|
|
325
|
-
"semi-spacing",
|
|
326
|
-
"simple-import-sort/imports",
|
|
327
|
-
"space-before-blocks",
|
|
328
|
-
"space-before-function-paren",
|
|
329
|
-
"space-in-parens",
|
|
330
|
-
"space-infix-ops",
|
|
331
|
-
"space-unary-ops",
|
|
332
|
-
"spaced-comment",
|
|
333
|
-
"symbol-description",
|
|
334
|
-
"template-curly-spacing",
|
|
335
|
-
"template-tag-spacing",
|
|
336
|
-
"unicode-bom",
|
|
337
|
-
"unused-imports/no-unused-imports",
|
|
338
|
-
"unused-imports/no-unused-vars",
|
|
339
|
-
"use-isnan",
|
|
340
|
-
"valid-typeof",
|
|
341
|
-
"wrap-iife",
|
|
342
|
-
"yield-star-spacing",
|
|
343
|
-
"yoda",
|
|
344
|
-
]
|
|
345
|
-
`;
|
|
346
|
-
|
|
347
|
-
exports[`Config Snapshots — Rule Names > expo config rules should match snapshot 1`] = `
|
|
348
|
-
[
|
|
349
|
-
"@typescript-eslint/array-type",
|
|
350
|
-
"@typescript-eslint/consistent-type-assertions",
|
|
351
|
-
"@typescript-eslint/no-dupe-class-members",
|
|
352
|
-
"@typescript-eslint/no-empty-object-type",
|
|
353
|
-
"@typescript-eslint/no-extra-non-null-assertion",
|
|
354
|
-
"@typescript-eslint/no-redeclare",
|
|
355
|
-
"@typescript-eslint/no-require-imports",
|
|
356
|
-
"@typescript-eslint/no-unused-vars",
|
|
357
|
-
"@typescript-eslint/no-useless-constructor",
|
|
358
|
-
"@typescript-eslint/no-wrapper-object-types",
|
|
359
|
-
"eqeqeq",
|
|
360
|
-
"expo/no-dynamic-env-var",
|
|
361
|
-
"expo/no-env-var-destructuring",
|
|
362
|
-
"import/default",
|
|
363
|
-
"import/export",
|
|
364
|
-
"import/first",
|
|
365
|
-
"import/named",
|
|
366
|
-
"import/namespace",
|
|
367
|
-
"import/no-unresolved",
|
|
368
|
-
"import/order",
|
|
369
|
-
"no-dupe-args",
|
|
370
|
-
"no-dupe-class-members",
|
|
371
|
-
"no-dupe-keys",
|
|
372
|
-
"no-duplicate-case",
|
|
373
|
-
"no-empty-character-class",
|
|
374
|
-
"no-empty-pattern",
|
|
375
|
-
"no-extend-native",
|
|
376
|
-
"no-extra-bind",
|
|
377
|
-
"no-redeclare",
|
|
378
|
-
"no-undef",
|
|
379
|
-
"no-unreachable",
|
|
380
|
-
"no-unsafe-negation",
|
|
381
|
-
"no-unused-expressions",
|
|
382
|
-
"no-unused-labels",
|
|
383
|
-
"no-unused-vars",
|
|
384
|
-
"no-useless-constructor",
|
|
385
|
-
"no-var",
|
|
386
|
-
"no-with",
|
|
387
|
-
"react-hooks/component-hook-factories",
|
|
388
|
-
"react-hooks/config",
|
|
389
|
-
"react-hooks/error-boundaries",
|
|
390
|
-
"react-hooks/exhaustive-deps",
|
|
391
|
-
"react-hooks/gating",
|
|
392
|
-
"react-hooks/globals",
|
|
393
|
-
"react-hooks/immutability",
|
|
394
|
-
"react-hooks/incompatible-library",
|
|
395
|
-
"react-hooks/preserve-manual-memoization",
|
|
396
|
-
"react-hooks/purity",
|
|
397
|
-
"react-hooks/refs",
|
|
398
|
-
"react-hooks/rules-of-hooks",
|
|
399
|
-
"react-hooks/set-state-in-effect",
|
|
400
|
-
"react-hooks/set-state-in-render",
|
|
401
|
-
"react-hooks/static-components",
|
|
402
|
-
"react-hooks/unsupported-syntax",
|
|
403
|
-
"react-hooks/use-memo",
|
|
404
|
-
"react/display-name",
|
|
405
|
-
"react/jsx-no-duplicate-props",
|
|
406
|
-
"react/jsx-no-undef",
|
|
407
|
-
"react/jsx-uses-react",
|
|
408
|
-
"react/jsx-uses-vars",
|
|
409
|
-
"react/no-danger-with-children",
|
|
410
|
-
"react/no-deprecated",
|
|
411
|
-
"react/no-direct-mutation-state",
|
|
412
|
-
"react/no-string-refs",
|
|
413
|
-
"react/no-this-in-sfc",
|
|
414
|
-
"react/no-unknown-property",
|
|
415
|
-
"react/require-render-return",
|
|
416
|
-
"simple-import-sort/imports",
|
|
417
|
-
"unicode-bom",
|
|
418
|
-
"use-isnan",
|
|
419
|
-
"valid-typeof",
|
|
420
|
-
]
|
|
421
|
-
`;
|
|
422
|
-
|
|
423
|
-
exports[`Config Snapshots — Rule Names > nest config rules should match snapshot 1`] = `
|
|
424
|
-
[
|
|
425
|
-
"@darraghor/nestjs-typed/all-properties-are-whitelisted",
|
|
426
|
-
"@darraghor/nestjs-typed/all-properties-have-explicit-defined",
|
|
427
|
-
"@darraghor/nestjs-typed/api-enum-property-best-practices",
|
|
428
|
-
"@darraghor/nestjs-typed/api-method-should-specify-api-operation",
|
|
429
|
-
"@darraghor/nestjs-typed/api-method-should-specify-api-response",
|
|
430
|
-
"@darraghor/nestjs-typed/api-methods-should-be-guarded",
|
|
431
|
-
"@darraghor/nestjs-typed/api-operation-summary-description-capitalized",
|
|
432
|
-
"@darraghor/nestjs-typed/api-property-matches-property-optionality",
|
|
433
|
-
"@darraghor/nestjs-typed/api-property-returning-array-should-set-array",
|
|
434
|
-
"@darraghor/nestjs-typed/api-property-should-have-api-extra-models",
|
|
435
|
-
"@darraghor/nestjs-typed/controllers-should-supply-api-tags",
|
|
436
|
-
"@darraghor/nestjs-typed/injectable-should-be-provided",
|
|
437
|
-
"@darraghor/nestjs-typed/no-duplicate-decorators",
|
|
438
|
-
"@darraghor/nestjs-typed/param-decorator-name-matches-route-param",
|
|
439
|
-
"@darraghor/nestjs-typed/provided-injected-should-match-factory-parameters",
|
|
440
|
-
"@darraghor/nestjs-typed/should-specify-forbid-unknown-values",
|
|
441
|
-
"@darraghor/nestjs-typed/sort-module-metadata-arrays",
|
|
442
|
-
"@darraghor/nestjs-typed/use-dependency-injection",
|
|
443
|
-
"@darraghor/nestjs-typed/use-injectable-provided-token",
|
|
444
|
-
"@darraghor/nestjs-typed/validate-nested-of-array-should-set-each",
|
|
445
|
-
"@darraghor/nestjs-typed/validated-non-primitive-property-needs-type-decorator",
|
|
446
|
-
"simple-import-sort/imports",
|
|
447
|
-
]
|
|
448
|
-
`;
|
|
449
|
-
|
|
450
|
-
exports[`Config Snapshots — Rule Names > next config rules should match snapshot 1`] = `
|
|
451
|
-
[
|
|
452
|
-
"@next/next/google-font-display",
|
|
453
|
-
"@next/next/google-font-preconnect",
|
|
454
|
-
"@next/next/inline-script-id",
|
|
455
|
-
"@next/next/next-script-for-ga",
|
|
456
|
-
"@next/next/no-assign-module-variable",
|
|
457
|
-
"@next/next/no-async-client-component",
|
|
458
|
-
"@next/next/no-before-interactive-script-outside-document",
|
|
459
|
-
"@next/next/no-css-tags",
|
|
460
|
-
"@next/next/no-document-import-in-page",
|
|
461
|
-
"@next/next/no-duplicate-head",
|
|
462
|
-
"@next/next/no-head-element",
|
|
463
|
-
"@next/next/no-head-import-in-document",
|
|
464
|
-
"@next/next/no-html-link-for-pages",
|
|
465
|
-
"@next/next/no-img-element",
|
|
466
|
-
"@next/next/no-page-custom-font",
|
|
467
|
-
"@next/next/no-script-component-in-head",
|
|
468
|
-
"@next/next/no-styled-jsx-in-document",
|
|
469
|
-
"@next/next/no-sync-scripts",
|
|
470
|
-
"@next/next/no-title-in-document-head",
|
|
471
|
-
"@next/next/no-typos",
|
|
472
|
-
"@next/next/no-unwanted-polyfillio",
|
|
473
|
-
"simple-import-sort/imports",
|
|
474
|
-
]
|
|
475
|
-
`;
|
|
476
|
-
|
|
477
|
-
exports[`Config Snapshots — Rule Names > react config rules should match snapshot 1`] = `
|
|
478
|
-
[
|
|
479
|
-
"react-hooks/component-hook-factories",
|
|
480
|
-
"react-hooks/config",
|
|
481
|
-
"react-hooks/error-boundaries",
|
|
482
|
-
"react-hooks/exhaustive-deps",
|
|
483
|
-
"react-hooks/gating",
|
|
484
|
-
"react-hooks/globals",
|
|
485
|
-
"react-hooks/immutability",
|
|
486
|
-
"react-hooks/incompatible-library",
|
|
487
|
-
"react-hooks/preserve-manual-memoization",
|
|
488
|
-
"react-hooks/purity",
|
|
489
|
-
"react-hooks/refs",
|
|
490
|
-
"react-hooks/rules-of-hooks",
|
|
491
|
-
"react-hooks/set-state-in-effect",
|
|
492
|
-
"react-hooks/set-state-in-render",
|
|
493
|
-
"react-hooks/static-components",
|
|
494
|
-
"react-hooks/unsupported-syntax",
|
|
495
|
-
"react-hooks/use-memo",
|
|
496
|
-
"react/boolean-prop-naming",
|
|
497
|
-
"react/button-has-type",
|
|
498
|
-
"react/destructuring-assignment",
|
|
499
|
-
"react/display-name",
|
|
500
|
-
"react/hook-use-state",
|
|
501
|
-
"react/jsx-boolean-value",
|
|
502
|
-
"react/jsx-closing-bracket-location",
|
|
503
|
-
"react/jsx-closing-tag-location",
|
|
504
|
-
"react/jsx-curly-brace-presence",
|
|
505
|
-
"react/jsx-curly-newline",
|
|
506
|
-
"react/jsx-fragments",
|
|
507
|
-
"react/jsx-handler-names",
|
|
508
|
-
"react/jsx-key",
|
|
509
|
-
"react/jsx-max-depth",
|
|
510
|
-
"react/jsx-no-comment-textnodes",
|
|
511
|
-
"react/jsx-no-duplicate-props",
|
|
512
|
-
"react/jsx-no-leaked-render",
|
|
513
|
-
"react/jsx-no-target-blank",
|
|
514
|
-
"react/jsx-no-undef",
|
|
515
|
-
"react/jsx-pascal-case",
|
|
516
|
-
"react/jsx-uses-react",
|
|
517
|
-
"react/jsx-uses-vars",
|
|
518
|
-
"react/jsx-wrap-multilines",
|
|
519
|
-
"react/no-children-prop",
|
|
520
|
-
"react/no-danger-with-children",
|
|
521
|
-
"react/no-deprecated",
|
|
522
|
-
"react/no-direct-mutation-state",
|
|
523
|
-
"react/no-find-dom-node",
|
|
524
|
-
"react/no-is-mounted",
|
|
525
|
-
"react/no-multi-comp",
|
|
526
|
-
"react/no-render-return-value",
|
|
527
|
-
"react/no-string-refs",
|
|
528
|
-
"react/no-unescaped-entities",
|
|
529
|
-
"react/no-unknown-property",
|
|
530
|
-
"react/no-unsafe",
|
|
531
|
-
"react/no-unstable-nested-components",
|
|
532
|
-
"react/prop-types",
|
|
533
|
-
"react/react-in-jsx-scope",
|
|
534
|
-
"react/require-render-return",
|
|
535
|
-
"react/self-closing-comp",
|
|
536
|
-
"simple-import-sort/imports",
|
|
537
|
-
]
|
|
538
|
-
`;
|
|
539
|
-
|
|
540
|
-
exports[`Config Snapshots — Rule Names > typescript config rules should match snapshot 1`] = `
|
|
541
|
-
[
|
|
542
|
-
"@stylistic/array-element-newline",
|
|
543
|
-
"@stylistic/arrow-parens",
|
|
544
|
-
"@stylistic/brace-style",
|
|
545
|
-
"@stylistic/comma-dangle",
|
|
546
|
-
"@stylistic/dot-location",
|
|
547
|
-
"@stylistic/function-call-argument-newline",
|
|
548
|
-
"@stylistic/function-paren-newline",
|
|
549
|
-
"@stylistic/implicit-arrow-linebreak",
|
|
550
|
-
"@stylistic/indent",
|
|
551
|
-
"@stylistic/lines-around-comment",
|
|
552
|
-
"@stylistic/max-len",
|
|
553
|
-
"@stylistic/max-statements-per-line",
|
|
554
|
-
"@stylistic/member-delimiter-style",
|
|
555
|
-
"@stylistic/multiline-comment-style",
|
|
556
|
-
"@stylistic/multiline-ternary",
|
|
557
|
-
"@stylistic/no-extra-parens",
|
|
558
|
-
"@stylistic/no-extra-semi",
|
|
559
|
-
"@stylistic/no-multi-spaces",
|
|
560
|
-
"@stylistic/object-curly-spacing",
|
|
561
|
-
"@stylistic/object-property-newline",
|
|
562
|
-
"@stylistic/operator-linebreak",
|
|
563
|
-
"@stylistic/padded-blocks",
|
|
564
|
-
"@stylistic/padding-line-between-statements",
|
|
565
|
-
"@stylistic/quote-props",
|
|
566
|
-
"@stylistic/quotes",
|
|
567
|
-
"@stylistic/semi",
|
|
568
|
-
"@typescript-eslint/adjacent-overload-signatures",
|
|
569
|
-
"@typescript-eslint/array-type",
|
|
570
|
-
"@typescript-eslint/ban-ts-comment",
|
|
571
|
-
"@typescript-eslint/ban-tslint-comment",
|
|
572
|
-
"@typescript-eslint/class-literal-property-style",
|
|
573
|
-
"@typescript-eslint/consistent-generic-constructors",
|
|
574
|
-
"@typescript-eslint/consistent-indexed-object-style",
|
|
575
|
-
"@typescript-eslint/consistent-type-assertions",
|
|
576
|
-
"@typescript-eslint/consistent-type-definitions",
|
|
577
|
-
"@typescript-eslint/indent",
|
|
578
|
-
"@typescript-eslint/no-confusing-non-null-assertion",
|
|
579
|
-
"@typescript-eslint/no-duplicate-enum-values",
|
|
580
|
-
"@typescript-eslint/no-dynamic-delete",
|
|
581
|
-
"@typescript-eslint/no-empty-function",
|
|
582
|
-
"@typescript-eslint/no-empty-object-type",
|
|
583
|
-
"@typescript-eslint/no-explicit-any",
|
|
584
|
-
"@typescript-eslint/no-inferrable-types",
|
|
585
|
-
"@typescript-eslint/no-invalid-void-type",
|
|
586
|
-
"@typescript-eslint/no-non-null-assertion",
|
|
587
|
-
"@typescript-eslint/no-unsafe-function-type",
|
|
588
|
-
"@typescript-eslint/no-unused-vars",
|
|
589
|
-
"@typescript-eslint/no-useless-constructor",
|
|
590
|
-
"@typescript-eslint/no-var-requires",
|
|
591
|
-
"@typescript-eslint/no-wrapper-object-types",
|
|
592
|
-
"@typescript-eslint/prefer-for-of",
|
|
593
|
-
"@typescript-eslint/prefer-function-type",
|
|
594
|
-
"array-callback-return",
|
|
595
|
-
"arrow-body-style",
|
|
596
|
-
"brace-style",
|
|
597
|
-
"camelcase",
|
|
598
|
-
"comma-dangle",
|
|
599
|
-
"constructor-super",
|
|
600
|
-
"eqeqeq",
|
|
601
|
-
"func-style",
|
|
602
|
-
"getter-return",
|
|
603
|
-
"import/export",
|
|
604
|
-
"import/no-duplicates",
|
|
605
|
-
"indent",
|
|
606
|
-
"jsx-a11y/alt-text",
|
|
607
|
-
"no-class-assign",
|
|
608
|
-
"no-const-assign",
|
|
609
|
-
"no-constant-binary-expression",
|
|
610
|
-
"no-constant-condition",
|
|
611
|
-
"no-dupe-args",
|
|
612
|
-
"no-dupe-class-members",
|
|
613
|
-
"no-dupe-keys",
|
|
614
|
-
"no-empty",
|
|
615
|
-
"no-empty-function",
|
|
616
|
-
"no-fallthrough",
|
|
617
|
-
"no-func-assign",
|
|
618
|
-
"no-import-assign",
|
|
619
|
-
"no-nested-ternary",
|
|
620
|
-
"no-new",
|
|
621
|
-
"no-new-native-nonconstructor",
|
|
622
|
-
"no-new-symbol",
|
|
623
|
-
"no-obj-calls",
|
|
624
|
-
"no-redeclare",
|
|
625
|
-
"no-setter-return",
|
|
626
|
-
"no-this-before-super",
|
|
627
|
-
"no-undef",
|
|
628
|
-
"no-unreachable",
|
|
629
|
-
"no-unsafe-negation",
|
|
630
|
-
"no-unused-vars",
|
|
631
|
-
"no-use-before-define",
|
|
632
|
-
"no-useless-constructor",
|
|
633
|
-
"no-useless-escape",
|
|
634
|
-
"no-useless-return",
|
|
635
|
-
"no-var",
|
|
636
|
-
"no-void",
|
|
637
|
-
"no-with",
|
|
638
|
-
"operator-linebreak",
|
|
639
|
-
"prefer-arrow-callback",
|
|
640
|
-
"prefer-const",
|
|
641
|
-
"prefer-promise-reject-errors",
|
|
642
|
-
"prefer-regex-literals",
|
|
643
|
-
"prefer-rest-params",
|
|
644
|
-
"prefer-spread",
|
|
645
|
-
"quote-props",
|
|
646
|
-
"quotes",
|
|
647
|
-
"semi",
|
|
648
|
-
"simple-import-sort/imports",
|
|
649
|
-
"space-before-function-paren",
|
|
650
|
-
"unused-imports/no-unused-imports",
|
|
651
|
-
"unused-imports/no-unused-vars",
|
|
652
|
-
"valid-typeof",
|
|
653
|
-
]
|
|
654
|
-
`;
|