@tb-dev/eslint-config 5.7.1 → 5.7.3
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.cjs +6 -4
- package/dist/index.js +6 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -288,11 +288,14 @@ async function svelte(options) {
|
|
|
288
288
|
interopDefault(import('@typescript-eslint/parser'))
|
|
289
289
|
]);
|
|
290
290
|
const rules = {
|
|
291
|
-
...sveltePlugin.configs.recommended,
|
|
292
291
|
...options.overrides?.svelte
|
|
293
292
|
};
|
|
294
293
|
return [
|
|
295
|
-
|
|
294
|
+
...sveltePlugin.configs.recommended,
|
|
295
|
+
{
|
|
296
|
+
plugins: { svelte: sveltePlugin },
|
|
297
|
+
rules
|
|
298
|
+
},
|
|
296
299
|
{
|
|
297
300
|
files: [Glob.Svelte],
|
|
298
301
|
languageOptions: {
|
|
@@ -303,8 +306,7 @@ async function svelte(options) {
|
|
|
303
306
|
extraFileExtensions: [".svelte"]
|
|
304
307
|
}
|
|
305
308
|
}
|
|
306
|
-
}
|
|
307
|
-
{ rules }
|
|
309
|
+
}
|
|
308
310
|
];
|
|
309
311
|
}
|
|
310
312
|
|
package/dist/index.js
CHANGED
|
@@ -284,11 +284,14 @@ async function svelte(options) {
|
|
|
284
284
|
interopDefault(import('@typescript-eslint/parser'))
|
|
285
285
|
]);
|
|
286
286
|
const rules = {
|
|
287
|
-
...sveltePlugin.configs.recommended,
|
|
288
287
|
...options.overrides?.svelte
|
|
289
288
|
};
|
|
290
289
|
return [
|
|
291
|
-
|
|
290
|
+
...sveltePlugin.configs.recommended,
|
|
291
|
+
{
|
|
292
|
+
plugins: { svelte: sveltePlugin },
|
|
293
|
+
rules
|
|
294
|
+
},
|
|
292
295
|
{
|
|
293
296
|
files: [Glob.Svelte],
|
|
294
297
|
languageOptions: {
|
|
@@ -299,8 +302,7 @@ async function svelte(options) {
|
|
|
299
302
|
extraFileExtensions: [".svelte"]
|
|
300
303
|
}
|
|
301
304
|
}
|
|
302
|
-
}
|
|
303
|
-
{ rules }
|
|
305
|
+
}
|
|
304
306
|
];
|
|
305
307
|
}
|
|
306
308
|
|