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
@@ -46,6 +44,13 @@ We are working on support for Svelte v5, but it is still an experimental feature
46
44
47
45
<!--DOCS_IGNORE_START-->
48
46
47
+
## Versioning policy
48
+
49
+
This plugin follows [Semantic Versioning](https://semver.org/).
50
+
However, unlike [ESLint’s Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy), this plugin adds new rules to its configs even in minor releases. For example, if you are using the recommended config, a minor update may add new rules, which could cause new lint errors in your project.
51
+
While [ESLint’s Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy) only adds new rules to configs in major releases, most users (myself included) don’t regularly monitor new rules. This makes it challenging to manually add them to projects whenever they are introduced.
52
+
By adding new rules to configs in minor releases, this plugin ensures users can adopt them more easily. If any new rules cause issues, you can simply disable them. I believe this approach helps maintain and improve code quality with minimal effort.
53
+
49
54
## Migration Guide
50
55
51
56
To migrate from `eslint-plugin-svelte` v1, or [`@ota-meshi/eslint-plugin-svelte`](https://www.npmjs.com/package/@ota-meshi/eslint-plugin-svelte), please refer to the [migration guide](https://sveltejs.github.io/eslint-plugin-svelte/migration/).
Copy file name to clipboardExpand all lines: packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-svelte4-errors.yaml
+1-2
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,7 @@
3
3
line: 6
4
4
column: 3
5
5
suggestions: null
6
-
- message: 'A11y: A form label must be associated with a
7
-
control.(a11y-label-has-associated-control)'
6
+
- message: 'A11y: A form label must be associated with a control.(a11y-label-has-associated-control)'
0 commit comments