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
|[svelte/no-dynamic-slot-name](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/)| disallow dynamic slot name |:star::wrench:|
291
-
|[svelte/no-export-load-in-svelte-module-in-kit-pages](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-export-load-in-svelte-module-in-kit-pages/)| disallow exporting load functions in `*.svelte` module in Svelte Kit page components. |:star:|
291
+
|[svelte/no-export-load-in-svelte-module-in-kit-pages](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-export-load-in-svelte-module-in-kit-pages/)| disallow exporting load functions in `*.svelte` module in Svelte Kit page components. ||
292
292
|[svelte/no-not-function-handler](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-not-function-handler/)| disallow use of not function in event handler |:star:|
293
293
|[svelte/no-object-in-text-mustaches](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/)| disallow objects in text mustache interpolation |:star:|
294
294
|[svelte/no-shorthand-style-property-overrides](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-shorthand-style-property-overrides/)| disallow shorthand style properties that override related longhand properties |:star:|
|[svelte/no-export-load-in-svelte-module-in-kit-pages](./rules/no-export-load-in-svelte-module-in-kit-pages.md)| disallow exporting load functions in `*.svelte` module in Svelte Kit page components. |:star:|
23
-
|[svelte/no-not-function-handler](./rules/no-not-function-handler.md)| disallow use of not function in event handler |:star:|
24
-
|[svelte/no-object-in-text-mustaches](./rules/no-object-in-text-mustaches.md)| disallow objects in text mustache interpolation |:star:|
25
-
|[svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md)| disallow shorthand style properties that override related longhand properties |:star:|
26
-
|[svelte/no-store-async](./rules/no-store-async.md)| disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features ||
|[svelte/no-dynamic-slot-name](./rules/no-dynamic-slot-name.md)| disallow dynamic slot name |:star::wrench:|
22
+
|[svelte/no-export-load-in-svelte-module-in-kit-pages](./rules/no-export-load-in-svelte-module-in-kit-pages.md)| disallow exporting load functions in `*.svelte` module in Svelte Kit page components. ||
23
+
|[svelte/no-not-function-handler](./rules/no-not-function-handler.md)| disallow use of not function in event handler |:star:|
24
+
|[svelte/no-object-in-text-mustaches](./rules/no-object-in-text-mustaches.md)| disallow objects in text mustache interpolation |:star:|
25
+
|[svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md)| disallow shorthand style properties that override related longhand properties |:star:|
26
+
|[svelte/no-store-async](./rules/no-store-async.md)| disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features ||
|[svelte/derived-has-same-inputs-outputs](./rules/derived-has-same-inputs-outputs.md)| derived store should use same variable names between values and callback ||
62
-
|[svelte/first-attribute-linebreak](./rules/first-attribute-linebreak.md)| enforce the location of first attribute|:wrench:|
63
-
|[svelte/html-closing-bracket-spacing](./rules/html-closing-bracket-spacing.md)| require or disallow a space before tag's closing brackets|:wrench:|
64
-
|[svelte/html-quotes](./rules/html-quotes.md)| enforce quotes style of HTML attributes|:wrench:|
|[svelte/max-attributes-per-line](./rules/max-attributes-per-line.md)| enforce the maximum number of attributes per line|:wrench:|
68
-
|[svelte/mustache-spacing](./rules/mustache-spacing.md)| enforce unified spacing in mustache|:wrench:|
69
-
|[svelte/no-extra-reactive-curlies](./rules/no-extra-reactive-curlies.md)| disallow wrapping single reactive statements in curly braces |:bulb:|
70
-
|[svelte/no-spaces-around-equal-signs-in-attribute](./rules/no-spaces-around-equal-signs-in-attribute.md)| disallow spaces around equal signs in attribute |:wrench:|
71
-
|[svelte/prefer-class-directive](./rules/prefer-class-directive.md)| require class directives instead of ternary expressions|:wrench:|
72
-
|[svelte/prefer-style-directive](./rules/prefer-style-directive.md)| require style directives instead of style attribute|:wrench:|
73
-
|[svelte/shorthand-attribute](./rules/shorthand-attribute.md)| enforce use of shorthand syntax in attribute|:wrench:|
74
-
|[svelte/shorthand-directive](./rules/shorthand-directive.md)| enforce use of shorthand syntax in directives|:wrench:|
75
-
|[svelte/sort-attributes](./rules/sort-attributes.md)| enforce order of attributes|:wrench:|
76
-
|[svelte/spaced-html-comment](./rules/spaced-html-comment.md)| enforce consistent spacing after the `<!--` and before the `-->` in a HTML comment |:wrench:|
59
+
| Rule ID | Description ||
60
+
|:--------|:------------|:---|
61
+
|[svelte/derived-has-same-inputs-outputs](./rules/derived-has-same-inputs-outputs.md)| derived store should use same variable names between values and callback ||
62
+
|[svelte/first-attribute-linebreak](./rules/first-attribute-linebreak.md)| enforce the location of first attribute |:wrench:|
63
+
|[svelte/html-closing-bracket-spacing](./rules/html-closing-bracket-spacing.md)| require or disallow a space before tag's closing brackets |:wrench:|
64
+
|[svelte/html-quotes](./rules/html-quotes.md)| enforce quotes style of HTML attributes |:wrench:|
|[svelte/max-attributes-per-line](./rules/max-attributes-per-line.md)| enforce the maximum number of attributes per line |:wrench:|
68
+
|[svelte/mustache-spacing](./rules/mustache-spacing.md)| enforce unified spacing in mustache |:wrench:|
69
+
|[svelte/no-extra-reactive-curlies](./rules/no-extra-reactive-curlies.md)| disallow wrapping single reactive statements in curly braces |:bulb:|
70
+
|[svelte/no-spaces-around-equal-signs-in-attribute](./rules/no-spaces-around-equal-signs-in-attribute.md)| disallow spaces around equal signs in attribute |:wrench:|
71
+
|[svelte/prefer-class-directive](./rules/prefer-class-directive.md)| require class directives instead of ternary expressions |:wrench:|
72
+
|[svelte/prefer-style-directive](./rules/prefer-style-directive.md)| require style directives instead of style attribute |:wrench:|
73
+
|[svelte/shorthand-attribute](./rules/shorthand-attribute.md)| enforce use of shorthand syntax in attribute |:wrench:|
74
+
|[svelte/shorthand-directive](./rules/shorthand-directive.md)| enforce use of shorthand syntax in directives |:wrench:|
75
+
|[svelte/sort-attributes](./rules/sort-attributes.md)| enforce order of attributes |:wrench:|
76
+
|[svelte/spaced-html-comment](./rules/spaced-html-comment.md)| enforce consistent spacing after the `<!--` and before the `-->` in a HTML comment |:wrench:|
77
77
78
78
## Extension Rules
79
79
80
80
These rules extend the rules provided by ESLint itself, or other plugins to work well in Svelte:
|[svelte/@typescript-eslint/no-unnecessary-condition](./rules/@typescript-eslint/no-unnecessary-condition.md)| This rule is no longer needed when using svelte-eslint-parser>=v0.19.0. |
0 commit comments