@saasmakers/eslint 0.1.10 → 0.1.11
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/eslint.config.cjs +1 -33
- package/dist/eslint.config.d.cts +1 -33
- package/dist/eslint.config.d.mts +1 -33
- package/dist/eslint.config.d.ts +1 -33
- package/dist/eslint.config.mjs +1 -33
- package/package.json +1 -1
package/dist/eslint.config.cjs
CHANGED
|
@@ -73,18 +73,7 @@ const eslint_config = antfu__default(
|
|
|
73
73
|
min: 2
|
|
74
74
|
}
|
|
75
75
|
],
|
|
76
|
-
"no-console": "off",
|
|
77
|
-
"no-control-regex": "off",
|
|
78
|
-
"no-labels": "off",
|
|
79
|
-
"no-restricted-globals": "off",
|
|
80
|
-
// Fix
|
|
81
|
-
"no-restricted-syntax": "off",
|
|
82
|
-
"no-throw-literal": "off",
|
|
83
|
-
// Fix
|
|
84
|
-
"no-unmodified-loop-condition": "off",
|
|
85
|
-
// Fix
|
|
86
76
|
"no-use-before-define": "off",
|
|
87
|
-
"no-var": "off",
|
|
88
77
|
"node/prefer-global/buffer": ["error", "always"],
|
|
89
78
|
"node/prefer-global/process": ["error", "always"],
|
|
90
79
|
"object-curly-newline": [
|
|
@@ -176,7 +165,6 @@ const eslint_config = antfu__default(
|
|
|
176
165
|
}
|
|
177
166
|
],
|
|
178
167
|
"perfectionist/sort-union-types": ["error", { type: "natural" }],
|
|
179
|
-
"prefer-regex-literals": "off",
|
|
180
168
|
"quotes": [
|
|
181
169
|
"error",
|
|
182
170
|
"single",
|
|
@@ -209,21 +197,6 @@ const eslint_config = antfu__default(
|
|
|
209
197
|
"saasmakers/vue-template-format-props": "error",
|
|
210
198
|
"saasmakers/vue-template-remove-comments": "error",
|
|
211
199
|
"saasmakers/vue-template-remove-true-attributes": "error",
|
|
212
|
-
"sort-imports": "off",
|
|
213
|
-
"ts/ban-ts-comment": "off",
|
|
214
|
-
"ts/ban-ts-ignore": "off",
|
|
215
|
-
"ts/ban-types": "off",
|
|
216
|
-
"ts/explicit-member-accessibility": "off",
|
|
217
|
-
"ts/no-explicit-any": "error",
|
|
218
|
-
"ts/no-invalid-this": "off",
|
|
219
|
-
"ts/no-namespace": "off",
|
|
220
|
-
"ts/no-require-imports": "off",
|
|
221
|
-
"ts/no-shadow": "off",
|
|
222
|
-
"ts/no-unused-expressions": "off",
|
|
223
|
-
"ts/no-use-before-define": "off",
|
|
224
|
-
"ts/no-var-requires": "off",
|
|
225
|
-
"unicorn/filename-case": "off",
|
|
226
|
-
"vars-on-top": "off",
|
|
227
200
|
"vue/attributes-order": [
|
|
228
201
|
"error",
|
|
229
202
|
{
|
|
@@ -255,7 +228,6 @@ const eslint_config = antfu__default(
|
|
|
255
228
|
singleline: "beside"
|
|
256
229
|
}
|
|
257
230
|
],
|
|
258
|
-
// 'vue/define-macros-order': 'off',
|
|
259
231
|
"vue/max-attributes-per-line": [
|
|
260
232
|
"error",
|
|
261
233
|
{
|
|
@@ -271,7 +243,6 @@ const eslint_config = antfu__default(
|
|
|
271
243
|
ignoreWhenEmpty: true
|
|
272
244
|
}
|
|
273
245
|
],
|
|
274
|
-
"vue/no-side-effects-in-computed-properties": "off",
|
|
275
246
|
"vue/padding-line-between-tags": [
|
|
276
247
|
"error",
|
|
277
248
|
[
|
|
@@ -281,10 +252,7 @@ const eslint_config = antfu__default(
|
|
|
281
252
|
prev: "*"
|
|
282
253
|
}
|
|
283
254
|
]
|
|
284
|
-
]
|
|
285
|
-
"vue/return-in-computed-property": "off",
|
|
286
|
-
// This conflicts with another rule that removes empty `return` statements
|
|
287
|
-
"vue/singleline-html-element-content-newline": "off"
|
|
255
|
+
]
|
|
288
256
|
}
|
|
289
257
|
}
|
|
290
258
|
);
|
package/dist/eslint.config.d.cts
CHANGED
|
@@ -62,18 +62,7 @@ var eslint_config = antfu(
|
|
|
62
62
|
min: 2
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
-
"no-console": "off",
|
|
66
|
-
"no-control-regex": "off",
|
|
67
|
-
"no-labels": "off",
|
|
68
|
-
"no-restricted-globals": "off",
|
|
69
|
-
// Fix
|
|
70
|
-
"no-restricted-syntax": "off",
|
|
71
|
-
"no-throw-literal": "off",
|
|
72
|
-
// Fix
|
|
73
|
-
"no-unmodified-loop-condition": "off",
|
|
74
|
-
// Fix
|
|
75
65
|
"no-use-before-define": "off",
|
|
76
|
-
"no-var": "off",
|
|
77
66
|
"node/prefer-global/buffer": ["error", "always"],
|
|
78
67
|
"node/prefer-global/process": ["error", "always"],
|
|
79
68
|
"object-curly-newline": [
|
|
@@ -165,7 +154,6 @@ var eslint_config = antfu(
|
|
|
165
154
|
}
|
|
166
155
|
],
|
|
167
156
|
"perfectionist/sort-union-types": ["error", { type: "natural" }],
|
|
168
|
-
"prefer-regex-literals": "off",
|
|
169
157
|
"quotes": [
|
|
170
158
|
"error",
|
|
171
159
|
"single",
|
|
@@ -198,21 +186,6 @@ var eslint_config = antfu(
|
|
|
198
186
|
"saasmakers/vue-template-format-props": "error",
|
|
199
187
|
"saasmakers/vue-template-remove-comments": "error",
|
|
200
188
|
"saasmakers/vue-template-remove-true-attributes": "error",
|
|
201
|
-
"sort-imports": "off",
|
|
202
|
-
"ts/ban-ts-comment": "off",
|
|
203
|
-
"ts/ban-ts-ignore": "off",
|
|
204
|
-
"ts/ban-types": "off",
|
|
205
|
-
"ts/explicit-member-accessibility": "off",
|
|
206
|
-
"ts/no-explicit-any": "error",
|
|
207
|
-
"ts/no-invalid-this": "off",
|
|
208
|
-
"ts/no-namespace": "off",
|
|
209
|
-
"ts/no-require-imports": "off",
|
|
210
|
-
"ts/no-shadow": "off",
|
|
211
|
-
"ts/no-unused-expressions": "off",
|
|
212
|
-
"ts/no-use-before-define": "off",
|
|
213
|
-
"ts/no-var-requires": "off",
|
|
214
|
-
"unicorn/filename-case": "off",
|
|
215
|
-
"vars-on-top": "off",
|
|
216
189
|
"vue/attributes-order": [
|
|
217
190
|
"error",
|
|
218
191
|
{
|
|
@@ -244,7 +217,6 @@ var eslint_config = antfu(
|
|
|
244
217
|
singleline: "beside"
|
|
245
218
|
}
|
|
246
219
|
],
|
|
247
|
-
// 'vue/define-macros-order': 'off',
|
|
248
220
|
"vue/max-attributes-per-line": [
|
|
249
221
|
"error",
|
|
250
222
|
{
|
|
@@ -260,7 +232,6 @@ var eslint_config = antfu(
|
|
|
260
232
|
ignoreWhenEmpty: true
|
|
261
233
|
}
|
|
262
234
|
],
|
|
263
|
-
"vue/no-side-effects-in-computed-properties": "off",
|
|
264
235
|
"vue/padding-line-between-tags": [
|
|
265
236
|
"error",
|
|
266
237
|
[
|
|
@@ -270,10 +241,7 @@ var eslint_config = antfu(
|
|
|
270
241
|
prev: "*"
|
|
271
242
|
}
|
|
272
243
|
]
|
|
273
|
-
]
|
|
274
|
-
"vue/return-in-computed-property": "off",
|
|
275
|
-
// This conflicts with another rule that removes empty `return` statements
|
|
276
|
-
"vue/singleline-html-element-content-newline": "off"
|
|
244
|
+
]
|
|
277
245
|
}
|
|
278
246
|
}
|
|
279
247
|
);
|
package/dist/eslint.config.d.mts
CHANGED
|
@@ -62,18 +62,7 @@ var eslint_config = antfu(
|
|
|
62
62
|
min: 2
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
-
"no-console": "off",
|
|
66
|
-
"no-control-regex": "off",
|
|
67
|
-
"no-labels": "off",
|
|
68
|
-
"no-restricted-globals": "off",
|
|
69
|
-
// Fix
|
|
70
|
-
"no-restricted-syntax": "off",
|
|
71
|
-
"no-throw-literal": "off",
|
|
72
|
-
// Fix
|
|
73
|
-
"no-unmodified-loop-condition": "off",
|
|
74
|
-
// Fix
|
|
75
65
|
"no-use-before-define": "off",
|
|
76
|
-
"no-var": "off",
|
|
77
66
|
"node/prefer-global/buffer": ["error", "always"],
|
|
78
67
|
"node/prefer-global/process": ["error", "always"],
|
|
79
68
|
"object-curly-newline": [
|
|
@@ -165,7 +154,6 @@ var eslint_config = antfu(
|
|
|
165
154
|
}
|
|
166
155
|
],
|
|
167
156
|
"perfectionist/sort-union-types": ["error", { type: "natural" }],
|
|
168
|
-
"prefer-regex-literals": "off",
|
|
169
157
|
"quotes": [
|
|
170
158
|
"error",
|
|
171
159
|
"single",
|
|
@@ -198,21 +186,6 @@ var eslint_config = antfu(
|
|
|
198
186
|
"saasmakers/vue-template-format-props": "error",
|
|
199
187
|
"saasmakers/vue-template-remove-comments": "error",
|
|
200
188
|
"saasmakers/vue-template-remove-true-attributes": "error",
|
|
201
|
-
"sort-imports": "off",
|
|
202
|
-
"ts/ban-ts-comment": "off",
|
|
203
|
-
"ts/ban-ts-ignore": "off",
|
|
204
|
-
"ts/ban-types": "off",
|
|
205
|
-
"ts/explicit-member-accessibility": "off",
|
|
206
|
-
"ts/no-explicit-any": "error",
|
|
207
|
-
"ts/no-invalid-this": "off",
|
|
208
|
-
"ts/no-namespace": "off",
|
|
209
|
-
"ts/no-require-imports": "off",
|
|
210
|
-
"ts/no-shadow": "off",
|
|
211
|
-
"ts/no-unused-expressions": "off",
|
|
212
|
-
"ts/no-use-before-define": "off",
|
|
213
|
-
"ts/no-var-requires": "off",
|
|
214
|
-
"unicorn/filename-case": "off",
|
|
215
|
-
"vars-on-top": "off",
|
|
216
189
|
"vue/attributes-order": [
|
|
217
190
|
"error",
|
|
218
191
|
{
|
|
@@ -244,7 +217,6 @@ var eslint_config = antfu(
|
|
|
244
217
|
singleline: "beside"
|
|
245
218
|
}
|
|
246
219
|
],
|
|
247
|
-
// 'vue/define-macros-order': 'off',
|
|
248
220
|
"vue/max-attributes-per-line": [
|
|
249
221
|
"error",
|
|
250
222
|
{
|
|
@@ -260,7 +232,6 @@ var eslint_config = antfu(
|
|
|
260
232
|
ignoreWhenEmpty: true
|
|
261
233
|
}
|
|
262
234
|
],
|
|
263
|
-
"vue/no-side-effects-in-computed-properties": "off",
|
|
264
235
|
"vue/padding-line-between-tags": [
|
|
265
236
|
"error",
|
|
266
237
|
[
|
|
@@ -270,10 +241,7 @@ var eslint_config = antfu(
|
|
|
270
241
|
prev: "*"
|
|
271
242
|
}
|
|
272
243
|
]
|
|
273
|
-
]
|
|
274
|
-
"vue/return-in-computed-property": "off",
|
|
275
|
-
// This conflicts with another rule that removes empty `return` statements
|
|
276
|
-
"vue/singleline-html-element-content-newline": "off"
|
|
244
|
+
]
|
|
277
245
|
}
|
|
278
246
|
}
|
|
279
247
|
);
|
package/dist/eslint.config.d.ts
CHANGED
|
@@ -62,18 +62,7 @@ var eslint_config = antfu(
|
|
|
62
62
|
min: 2
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
-
"no-console": "off",
|
|
66
|
-
"no-control-regex": "off",
|
|
67
|
-
"no-labels": "off",
|
|
68
|
-
"no-restricted-globals": "off",
|
|
69
|
-
// Fix
|
|
70
|
-
"no-restricted-syntax": "off",
|
|
71
|
-
"no-throw-literal": "off",
|
|
72
|
-
// Fix
|
|
73
|
-
"no-unmodified-loop-condition": "off",
|
|
74
|
-
// Fix
|
|
75
65
|
"no-use-before-define": "off",
|
|
76
|
-
"no-var": "off",
|
|
77
66
|
"node/prefer-global/buffer": ["error", "always"],
|
|
78
67
|
"node/prefer-global/process": ["error", "always"],
|
|
79
68
|
"object-curly-newline": [
|
|
@@ -165,7 +154,6 @@ var eslint_config = antfu(
|
|
|
165
154
|
}
|
|
166
155
|
],
|
|
167
156
|
"perfectionist/sort-union-types": ["error", { type: "natural" }],
|
|
168
|
-
"prefer-regex-literals": "off",
|
|
169
157
|
"quotes": [
|
|
170
158
|
"error",
|
|
171
159
|
"single",
|
|
@@ -198,21 +186,6 @@ var eslint_config = antfu(
|
|
|
198
186
|
"saasmakers/vue-template-format-props": "error",
|
|
199
187
|
"saasmakers/vue-template-remove-comments": "error",
|
|
200
188
|
"saasmakers/vue-template-remove-true-attributes": "error",
|
|
201
|
-
"sort-imports": "off",
|
|
202
|
-
"ts/ban-ts-comment": "off",
|
|
203
|
-
"ts/ban-ts-ignore": "off",
|
|
204
|
-
"ts/ban-types": "off",
|
|
205
|
-
"ts/explicit-member-accessibility": "off",
|
|
206
|
-
"ts/no-explicit-any": "error",
|
|
207
|
-
"ts/no-invalid-this": "off",
|
|
208
|
-
"ts/no-namespace": "off",
|
|
209
|
-
"ts/no-require-imports": "off",
|
|
210
|
-
"ts/no-shadow": "off",
|
|
211
|
-
"ts/no-unused-expressions": "off",
|
|
212
|
-
"ts/no-use-before-define": "off",
|
|
213
|
-
"ts/no-var-requires": "off",
|
|
214
|
-
"unicorn/filename-case": "off",
|
|
215
|
-
"vars-on-top": "off",
|
|
216
189
|
"vue/attributes-order": [
|
|
217
190
|
"error",
|
|
218
191
|
{
|
|
@@ -244,7 +217,6 @@ var eslint_config = antfu(
|
|
|
244
217
|
singleline: "beside"
|
|
245
218
|
}
|
|
246
219
|
],
|
|
247
|
-
// 'vue/define-macros-order': 'off',
|
|
248
220
|
"vue/max-attributes-per-line": [
|
|
249
221
|
"error",
|
|
250
222
|
{
|
|
@@ -260,7 +232,6 @@ var eslint_config = antfu(
|
|
|
260
232
|
ignoreWhenEmpty: true
|
|
261
233
|
}
|
|
262
234
|
],
|
|
263
|
-
"vue/no-side-effects-in-computed-properties": "off",
|
|
264
235
|
"vue/padding-line-between-tags": [
|
|
265
236
|
"error",
|
|
266
237
|
[
|
|
@@ -270,10 +241,7 @@ var eslint_config = antfu(
|
|
|
270
241
|
prev: "*"
|
|
271
242
|
}
|
|
272
243
|
]
|
|
273
|
-
]
|
|
274
|
-
"vue/return-in-computed-property": "off",
|
|
275
|
-
// This conflicts with another rule that removes empty `return` statements
|
|
276
|
-
"vue/singleline-html-element-content-newline": "off"
|
|
244
|
+
]
|
|
277
245
|
}
|
|
278
246
|
}
|
|
279
247
|
);
|
package/dist/eslint.config.mjs
CHANGED
|
@@ -62,18 +62,7 @@ const eslint_config = antfu(
|
|
|
62
62
|
min: 2
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
-
"no-console": "off",
|
|
66
|
-
"no-control-regex": "off",
|
|
67
|
-
"no-labels": "off",
|
|
68
|
-
"no-restricted-globals": "off",
|
|
69
|
-
// Fix
|
|
70
|
-
"no-restricted-syntax": "off",
|
|
71
|
-
"no-throw-literal": "off",
|
|
72
|
-
// Fix
|
|
73
|
-
"no-unmodified-loop-condition": "off",
|
|
74
|
-
// Fix
|
|
75
65
|
"no-use-before-define": "off",
|
|
76
|
-
"no-var": "off",
|
|
77
66
|
"node/prefer-global/buffer": ["error", "always"],
|
|
78
67
|
"node/prefer-global/process": ["error", "always"],
|
|
79
68
|
"object-curly-newline": [
|
|
@@ -165,7 +154,6 @@ const eslint_config = antfu(
|
|
|
165
154
|
}
|
|
166
155
|
],
|
|
167
156
|
"perfectionist/sort-union-types": ["error", { type: "natural" }],
|
|
168
|
-
"prefer-regex-literals": "off",
|
|
169
157
|
"quotes": [
|
|
170
158
|
"error",
|
|
171
159
|
"single",
|
|
@@ -198,21 +186,6 @@ const eslint_config = antfu(
|
|
|
198
186
|
"saasmakers/vue-template-format-props": "error",
|
|
199
187
|
"saasmakers/vue-template-remove-comments": "error",
|
|
200
188
|
"saasmakers/vue-template-remove-true-attributes": "error",
|
|
201
|
-
"sort-imports": "off",
|
|
202
|
-
"ts/ban-ts-comment": "off",
|
|
203
|
-
"ts/ban-ts-ignore": "off",
|
|
204
|
-
"ts/ban-types": "off",
|
|
205
|
-
"ts/explicit-member-accessibility": "off",
|
|
206
|
-
"ts/no-explicit-any": "error",
|
|
207
|
-
"ts/no-invalid-this": "off",
|
|
208
|
-
"ts/no-namespace": "off",
|
|
209
|
-
"ts/no-require-imports": "off",
|
|
210
|
-
"ts/no-shadow": "off",
|
|
211
|
-
"ts/no-unused-expressions": "off",
|
|
212
|
-
"ts/no-use-before-define": "off",
|
|
213
|
-
"ts/no-var-requires": "off",
|
|
214
|
-
"unicorn/filename-case": "off",
|
|
215
|
-
"vars-on-top": "off",
|
|
216
189
|
"vue/attributes-order": [
|
|
217
190
|
"error",
|
|
218
191
|
{
|
|
@@ -244,7 +217,6 @@ const eslint_config = antfu(
|
|
|
244
217
|
singleline: "beside"
|
|
245
218
|
}
|
|
246
219
|
],
|
|
247
|
-
// 'vue/define-macros-order': 'off',
|
|
248
220
|
"vue/max-attributes-per-line": [
|
|
249
221
|
"error",
|
|
250
222
|
{
|
|
@@ -260,7 +232,6 @@ const eslint_config = antfu(
|
|
|
260
232
|
ignoreWhenEmpty: true
|
|
261
233
|
}
|
|
262
234
|
],
|
|
263
|
-
"vue/no-side-effects-in-computed-properties": "off",
|
|
264
235
|
"vue/padding-line-between-tags": [
|
|
265
236
|
"error",
|
|
266
237
|
[
|
|
@@ -270,10 +241,7 @@ const eslint_config = antfu(
|
|
|
270
241
|
prev: "*"
|
|
271
242
|
}
|
|
272
243
|
]
|
|
273
|
-
]
|
|
274
|
-
"vue/return-in-computed-property": "off",
|
|
275
|
-
// This conflicts with another rule that removes empty `return` statements
|
|
276
|
-
"vue/singleline-html-element-content-newline": "off"
|
|
244
|
+
]
|
|
277
245
|
}
|
|
278
246
|
}
|
|
279
247
|
);
|