|
1 | 1 | diff --git a/dist/index.js b/dist/index.js |
2 | | -index bb5f041bf6f7f42971b67849adc190e9cdcd63af..756d5e48c39dd9fd7b5784d9ed03a2b04fc342cc 100644 |
| 2 | +index 2b83747e0517c5883b6cadc86a6bf3b78d5abfae..b8865ef3baa146e9eef1548510e15bf76ad70f66 100644 |
3 | 3 | --- a/dist/index.js |
4 | 4 | +++ b/dist/index.js |
5 | | -@@ -15,7 +15,8 @@ var tsExtensions = "ts,mts,cts"; |
| 5 | +@@ -16,7 +16,8 @@ var tsExtensions = "ts,mts,cts"; |
6 | 6 | var tsxExtensions = "tsx,mtsx"; |
7 | 7 | var allJsExtensions = `${jsExtensions},${tsExtensions}`; |
8 | 8 | var allJsxExtensions = `${jsxExtensions},${tsxExtensions}`; |
9 | 9 | -var supportedFileTypes = `**/*{${allJsExtensions},${allJsxExtensions},astro}`; |
10 | 10 | +var allSupportedExtensions = `${allJsExtensions},${allJsxExtensions},astro,svelte`; |
11 | 11 | +var supportedFileTypes = `**/*.{${allSupportedExtensions}}`; |
12 | | - var messages = { |
13 | | - NO_ACCESS_MODIFIER: "Avoid access modifiers. In Javascript modules there is no need to limit developer access to properties." |
14 | | - }; |
15 | | -@@ -159,7 +160,6 @@ import tsdoc from "eslint-plugin-tsdoc"; |
16 | | - import unicorn from "eslint-plugin-unicorn"; |
17 | | - import globals from "globals"; |
18 | | - import tseslint3 from "typescript-eslint"; |
19 | | --import { fixupPluginRules } from "@eslint/compat"; |
20 | | - import eslintJs from "@eslint/js"; |
21 | | - import preferEarlyReturn from "@regru/eslint-plugin-prefer-early-return"; |
22 | | - import stylistic from "@stylistic/eslint-plugin"; |
23 | | -@@ -684,10 +684,10 @@ var getBaseConfig = (userConfigChoices) => { |
24 | | - }, |
25 | | - { |
26 | | - files: [ |
27 | | -- "**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)", |
28 | | -- "**/*.story.@(ts|tsx|js|jsx|mjs|cjs)" |
29 | | -+ "**/*.stories.@(ts|tsx|js|jsx|mjs|cjs|svelte)", |
30 | | -+ "**/*.story.@(ts|tsx|js|jsx|mjs|cjs|svelte)" |
31 | | - ], |
32 | | -- plugins: { storybook: fixupPluginRules(storybook) }, |
33 | | -+ plugins: { storybook }, |
34 | | - rules: { |
35 | | - ...storybook.configs["flat/recommended"][1].rules, |
36 | | - ...storybook.configs["flat/csf"][1].rules, |
37 | | -@@ -695,6 +695,7 @@ var getBaseConfig = (userConfigChoices) => { |
38 | | - } |
39 | | - }, |
40 | | - { |
41 | | -+ plugins: { storybook }, |
42 | | - files: ["**/.storybook/main.@(js|cjs|mjs|ts)"], |
43 | | - rules: { ...storybook.configs["flat/recommended"][2].rules } |
44 | | - }, |
45 | | -@@ -714,7 +715,7 @@ var getBaseConfig = (userConfigChoices) => { |
| 12 | + var testsFilePatterns = [ |
| 13 | + `**/*.{test,spec}.{${allJsExtensions}}`, |
| 14 | + `**/tests/**/*.{${allJsExtensions}}`, |
| 15 | +@@ -718,7 +719,7 @@ var getBaseConfig = (userConfigChoices) => { |
46 | 16 | rules: { "fsecond/prefer-destructured-optionals": 2 } |
47 | 17 | }, |
48 | 18 | { |
49 | 19 | - files: [`**/*.config.{${allJsExtensions}}`], |
50 | | -+ files: [`**/*.config.{${allJsExtensions}}`, `.storybook/*.{${allJsExtensions}}`], |
| 20 | ++ files: [`**/*.config.{${allJsExtensions}}`, `**/.storybook/*.{${allJsExtensions}}`], |
51 | 21 | rules: { |
52 | 22 | "import/no-default-export": 0, |
53 | 23 | "import/no-anonymous-default-export": 0, |
0 commit comments