@saasmakers/eslint 0.1.10 → 0.1.12

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.
@@ -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,7 @@ 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
200
  "ts/no-use-before-define": "off",
224
- "ts/no-var-requires": "off",
225
- "unicorn/filename-case": "off",
226
- "vars-on-top": "off",
227
201
  "vue/attributes-order": [
228
202
  "error",
229
203
  {
@@ -255,7 +229,6 @@ const eslint_config = antfu__default(
255
229
  singleline: "beside"
256
230
  }
257
231
  ],
258
- // 'vue/define-macros-order': 'off',
259
232
  "vue/max-attributes-per-line": [
260
233
  "error",
261
234
  {
@@ -271,7 +244,6 @@ const eslint_config = antfu__default(
271
244
  ignoreWhenEmpty: true
272
245
  }
273
246
  ],
274
- "vue/no-side-effects-in-computed-properties": "off",
275
247
  "vue/padding-line-between-tags": [
276
248
  "error",
277
249
  [
@@ -281,10 +253,7 @@ const eslint_config = antfu__default(
281
253
  prev: "*"
282
254
  }
283
255
  ]
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"
256
+ ]
288
257
  }
289
258
  }
290
259
  );
@@ -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,7 @@ 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
189
  "ts/no-use-before-define": "off",
213
- "ts/no-var-requires": "off",
214
- "unicorn/filename-case": "off",
215
- "vars-on-top": "off",
216
190
  "vue/attributes-order": [
217
191
  "error",
218
192
  {
@@ -244,7 +218,6 @@ var eslint_config = antfu(
244
218
  singleline: "beside"
245
219
  }
246
220
  ],
247
- // 'vue/define-macros-order': 'off',
248
221
  "vue/max-attributes-per-line": [
249
222
  "error",
250
223
  {
@@ -260,7 +233,6 @@ var eslint_config = antfu(
260
233
  ignoreWhenEmpty: true
261
234
  }
262
235
  ],
263
- "vue/no-side-effects-in-computed-properties": "off",
264
236
  "vue/padding-line-between-tags": [
265
237
  "error",
266
238
  [
@@ -270,10 +242,7 @@ var eslint_config = antfu(
270
242
  prev: "*"
271
243
  }
272
244
  ]
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"
245
+ ]
277
246
  }
278
247
  }
279
248
  );
@@ -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,7 @@ 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
189
  "ts/no-use-before-define": "off",
213
- "ts/no-var-requires": "off",
214
- "unicorn/filename-case": "off",
215
- "vars-on-top": "off",
216
190
  "vue/attributes-order": [
217
191
  "error",
218
192
  {
@@ -244,7 +218,6 @@ var eslint_config = antfu(
244
218
  singleline: "beside"
245
219
  }
246
220
  ],
247
- // 'vue/define-macros-order': 'off',
248
221
  "vue/max-attributes-per-line": [
249
222
  "error",
250
223
  {
@@ -260,7 +233,6 @@ var eslint_config = antfu(
260
233
  ignoreWhenEmpty: true
261
234
  }
262
235
  ],
263
- "vue/no-side-effects-in-computed-properties": "off",
264
236
  "vue/padding-line-between-tags": [
265
237
  "error",
266
238
  [
@@ -270,10 +242,7 @@ var eslint_config = antfu(
270
242
  prev: "*"
271
243
  }
272
244
  ]
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"
245
+ ]
277
246
  }
278
247
  }
279
248
  );
@@ -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,7 @@ 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
189
  "ts/no-use-before-define": "off",
213
- "ts/no-var-requires": "off",
214
- "unicorn/filename-case": "off",
215
- "vars-on-top": "off",
216
190
  "vue/attributes-order": [
217
191
  "error",
218
192
  {
@@ -244,7 +218,6 @@ var eslint_config = antfu(
244
218
  singleline: "beside"
245
219
  }
246
220
  ],
247
- // 'vue/define-macros-order': 'off',
248
221
  "vue/max-attributes-per-line": [
249
222
  "error",
250
223
  {
@@ -260,7 +233,6 @@ var eslint_config = antfu(
260
233
  ignoreWhenEmpty: true
261
234
  }
262
235
  ],
263
- "vue/no-side-effects-in-computed-properties": "off",
264
236
  "vue/padding-line-between-tags": [
265
237
  "error",
266
238
  [
@@ -270,10 +242,7 @@ var eslint_config = antfu(
270
242
  prev: "*"
271
243
  }
272
244
  ]
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"
245
+ ]
277
246
  }
278
247
  }
279
248
  );
@@ -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,7 @@ 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
189
  "ts/no-use-before-define": "off",
213
- "ts/no-var-requires": "off",
214
- "unicorn/filename-case": "off",
215
- "vars-on-top": "off",
216
190
  "vue/attributes-order": [
217
191
  "error",
218
192
  {
@@ -244,7 +218,6 @@ const eslint_config = antfu(
244
218
  singleline: "beside"
245
219
  }
246
220
  ],
247
- // 'vue/define-macros-order': 'off',
248
221
  "vue/max-attributes-per-line": [
249
222
  "error",
250
223
  {
@@ -260,7 +233,6 @@ const eslint_config = antfu(
260
233
  ignoreWhenEmpty: true
261
234
  }
262
235
  ],
263
- "vue/no-side-effects-in-computed-properties": "off",
264
236
  "vue/padding-line-between-tags": [
265
237
  "error",
266
238
  [
@@ -270,10 +242,7 @@ const eslint_config = antfu(
270
242
  prev: "*"
271
243
  }
272
244
  ]
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"
245
+ ]
277
246
  }
278
247
  }
279
248
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
3
  "type": "module",
4
- "version": "0.1.10",
4
+ "version": "0.1.12",
5
5
  "private": false,
6
6
  "description": "Shared ESLint config for SaaS Makers projects",
7
7
  "license": "MIT",