You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,9 @@ export default [
96
96
This plugin provides configs:
97
97
98
98
-`eslintPluginSvelte.configs.base` ... Configuration to enable correct Svelte parsing.
99
-
-`eslintPluginSvelte.configs.recommended` ... Above, plus rules to prevent errors or unintended behavior.
99
+
-`eslintPluginSvelte.configs.recommended` ... Base configuration recommended with rules for Svelte 5.
100
+
-`eslintPluginSvelte.configs.recommended_svelte5_without_legacy` ... Base configuration with recommended rules for Svelte 5, excluding legacy compatibility (e.g. `$:` label).
101
+
-`eslintPluginSvelte.configs.recommended_svelte3_4` ... Base configuration with recommended rules for Svelte 3 and 4.
100
102
-`eslintPluginSvelte.configs.prettier` ... Turns off rules that may conflict with [Prettier](https://prettier.io/) (You still need to configure prettier to work with svelte yourself, for example by using [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte).).
101
103
-`eslintPluginSvelte.configs.all` ... All rules. This configuration is not recommended for production use because it changes with every minor and major version of `eslint-plugin-svelte`. Use it at your own risk.
102
104
@@ -305,8 +307,8 @@ Example **.vscode/settings.json**:
305
307
:wrench: Indicates that the rule is fixable, and using `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.
306
308
:bulb: Indicates that some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
307
309
:white_check_mark: Indicates that the rule is included in the `plugin:svelte/recommended` config.
308
-
:star: Indicates that the rule is included in the `plugin:svelte/recommended-svelte5-without-legacy` config.
309
-
:classical_building: Indicates that the rule is included in the `plugin:svelte/recommended-svelte3-4` config.
310
+
:star: Indicates that the rule is included in the `plugin:svelte/recommended_svelte5_without_legacy` config.
311
+
:classical_building: Indicates that the rule is included in the `plugin:svelte/recommended_svelte3_4` config.
Copy file name to clipboardExpand all lines: docs/rules.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ sidebarDepth: 0
7
7
:wrench: Indicates that the rule is fixable, and using `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.
8
8
:bulb: Indicates that some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
9
9
:white_check_mark: Indicates that the rule is included in the `plugin:svelte/recommended` config.
10
-
:star: Indicates that the rule is included in the `plugin:svelte/recommended-svelte5-without-legacy` config.
11
-
:classical_building: Indicates that the rule is included in the `plugin:svelte/recommended-svelte3-4` config.
10
+
:star: Indicates that the rule is included in the `plugin:svelte/recommended_svelte5_without_legacy` config.
11
+
:classical_building: Indicates that the rule is included in the `plugin:svelte/recommended_svelte3_4` config.
12
12
13
13
<!-- This file is automatically generated in tools/update-docs-rules-index.js, do not change! -->
Copy file name to clipboardExpand all lines: docs/rules/comment-directive.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ since: 'v0.0.13'
10
10
11
11
> support comment-directives in HTML template
12
12
13
-
-:gear: This rule is included in all of `"plugin:svelte/base"`, `"plugin:svelte/recommended"`, `"plugin:svelte/recommended-svelte5-without-legacy"` and `"plugin:svelte/recommended-svelte3-4"` configuration.
13
+
-:gear: This rule is included in all of `"plugin:svelte/base"`, `"plugin:svelte/recommended"`, `"plugin:svelte/recommended_svelte5_without_legacy"` and `"plugin:svelte/recommended_svelte3_4"` configuration.
14
14
15
15
Sole purpose of this rule is to provide `eslint-disable` functionality in the template HTML.
Copy file name to clipboardExpand all lines: docs/rules/system.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ since: 'v0.0.13'
10
10
11
11
> system rule for working this plugin
12
12
13
-
-:gear: This rule is included in all of `"plugin:svelte/base"`, `"plugin:svelte/recommended"`, `"plugin:svelte/recommended-svelte5-without-legacy"` and `"plugin:svelte/recommended-svelte3-4"` configuration.
13
+
-:gear: This rule is included in all of `"plugin:svelte/base"`, `"plugin:svelte/recommended"`, `"plugin:svelte/recommended_svelte5_without_legacy"` and `"plugin:svelte/recommended_svelte3_4"` configuration.
Copy file name to clipboardExpand all lines: docs/user-guide.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,9 @@ export default [
46
46
This plugin provides configs:
47
47
48
48
-`eslintPluginSvelte.configs.base` ... Configuration to enable correct Svelte parsing.
49
-
-`eslintPluginSvelte.configs.recommended` ... Above, plus rules to prevent errors or unintended behavior.
49
+
-`eslintPluginSvelte.configs.recommended` ... Base configuration recommended with rules for Svelte 5.
50
+
-`eslintPluginSvelte.configs.recommended_svelte5_without_legacy` ... Base configuration with recommended rules for Svelte 5, excluding legacy compatibility (e.g. `$:` label).
51
+
-`eslintPluginSvelte.configs.recommended_svelte3_4` ... Base configuration with recommended rules for Svelte 3 and 4.
50
52
-`eslintPluginSvelte.configs.prettier` ... Turns off rules that may conflict with [Prettier](https://prettier.io/) (You still need to configure prettier to work with svelte yourself, for example by using [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte).).
51
53
-`eslintPluginSvelte.configs.all` ... All rules. This configuration is not recommended for production use because it changes with every minor and major version of `eslint-plugin-svelte`. Use it at your own risk.
Copy file name to clipboardExpand all lines: packages/eslint-plugin-svelte/tools/update-docs-rules-index.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ sidebarDepth: 0
17
17
:wrench: Indicates that the rule is fixable, and using \`--fix\` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.
18
18
:bulb: Indicates that some problems reported by the rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
19
19
:white_check_mark: Indicates that the rule is included in the \`plugin:svelte/recommended\` config.
20
-
:star: Indicates that the rule is included in the \`plugin:svelte/recommended-svelte5-without-legacy\` config.
21
-
:classical_building: Indicates that the rule is included in the \`plugin:svelte/recommended-svelte3-4\` config.
20
+
:star: Indicates that the rule is included in the \`plugin:svelte/recommended_svelte5_without_legacy\` config.
21
+
:classical_building: Indicates that the rule is included in the \`plugin:svelte/recommended_svelte3_4\` config.
22
22
23
23
<!-- This file is automatically generated in tools/update-docs-rules-index.js, do not change! -->
0 commit comments