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
+14-14
Original file line number
Diff line number
Diff line change
@@ -317,21 +317,21 @@ These rules relate to possible syntax or logic errors in Svelte code:
317
317
|[svelte/infinite-reactive-loop](https://sveltejs.github.io/eslint-plugin-svelte/rules/infinite-reactive-loop/)| Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. ||
318
318
|[svelte/no-deprecated-raw-special-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-deprecated-raw-special-elements/)| Recommends not using raw special elements in Svelte versions previous to 5. |:wrench:|
319
319
|[svelte/no-dom-manipulating](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dom-manipulating/)| disallow DOM manipulating ||
|[svelte/no-dynamic-slot-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/)| disallow dynamic slot name | :check_mark_button::wrench:|
324
+
|[svelte/no-dynamic-slot-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/)| disallow dynamic slot name |:heavy_check_mark::wrench:|
325
325
|[svelte/no-export-load-in-svelte-module-in-kit-pages](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-export-load-in-svelte-module-in-kit-pages/)| disallow exporting load functions in `*.svelte` module in SvelteKit page components. ||
326
-
|[svelte/no-not-function-handler](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/)| disallow use of not function in event handler | :check_mark_button: |
327
-
|[svelte/no-object-in-text-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/)| disallow objects in text mustache interpolation | :check_mark_button: |
326
+
|[svelte/no-not-function-handler](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/)| disallow use of not function in event handler |:heavy_check_mark:|
327
+
|[svelte/no-object-in-text-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/)| disallow objects in text mustache interpolation |:heavy_check_mark:|
|[svelte/no-shorthand-style-property-overrides](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-shorthand-style-property-overrides/)| disallow shorthand style properties that override related longhand properties | :check_mark_button: |
329
+
|[svelte/no-shorthand-style-property-overrides](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-shorthand-style-property-overrides/)| disallow shorthand style properties that override related longhand properties |:heavy_check_mark:|
330
330
|[svelte/no-store-async](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/)| disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features ||
|[svelte/require-store-callbacks-use-set-param](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-store-callbacks-use-set-param/)| store callbacks must use `set` param ||
333
333
|[svelte/require-store-reactive-access](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-store-reactive-access/)| disallow to use of the store itself as an operand. Need to use $ prefix or get function. |:wrench:|
334
-
|[svelte/valid-compile](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-compile/)| disallow warnings when compiling. | :check_mark_button: |
334
+
|[svelte/valid-compile](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-compile/)| disallow warnings when compiling. |:heavy_check_mark:|
335
335
|[svelte/valid-prop-names-in-kit-pages](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-prop-names-in-kit-pages/)| disallow props other than data or errors in SvelteKit page components. ||
336
336
337
337
## Security Vulnerability
@@ -340,7 +340,7 @@ These rules relate to security vulnerabilities in Svelte code:
340
340
341
341
| Rule ID | Description ||
342
342
|:--------|:------------|:---|
343
-
|[svelte/no-at-html-tags](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-html-tags/)| disallow use of `{@html}` to prevent XSS attack | :check_mark_button: |
343
+
|[svelte/no-at-html-tags](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-html-tags/)| disallow use of `{@html}` to prevent XSS attack |:heavy_check_mark:|
344
344
|[svelte/no-target-blank](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/)| disallow `target="_blank"` attribute without `rel="noopener noreferrer"`||
345
345
346
346
## Best Practices
@@ -351,7 +351,7 @@ These rules relate to better ways of doing things to help you avoid problems:
351
351
|:--------|:------------|:---|
352
352
|[svelte/block-lang](https://sveltejs.github.io/eslint-plugin-svelte/rules/block-lang/)| disallows the use of languages other than those specified in the configuration for the lang attribute of `<script>` and `<style>` blocks. ||
353
353
|[svelte/button-has-type](https://sveltejs.github.io/eslint-plugin-svelte/rules/button-has-type/)| disallow usage of button without an explicit type attribute ||
354
-
|[svelte/no-at-debug-tags](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-debug-tags/)| disallow the use of `{@debug}`| :check_mark_button: |
354
+
|[svelte/no-at-debug-tags](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-debug-tags/)| disallow the use of `{@debug}`|:heavy_check_mark:|
355
355
|[svelte/no-ignored-unsubscribe](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-ignored-unsubscribe/)| disallow ignoring the unsubscribe method returned by the `subscribe()` on Svelte stores. ||
356
356
|[svelte/no-immutable-reactive-statements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-immutable-reactive-statements/)| disallow reactive statements that don't reference reactive values. ||
357
357
|[svelte/no-inline-styles](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inline-styles/)| disallow attributes and directives that produce inline styles ||
@@ -360,7 +360,7 @@ These rules relate to better ways of doing things to help you avoid problems:
360
360
|[svelte/no-reactive-literals](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-literals/)| don't assign literal values in reactive statements |:bulb:|
361
361
|[svelte/no-svelte-internal](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/)| svelte/internal will be removed in Svelte 6. ||
362
362
|[svelte/no-unused-class-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-class-name/)| disallow the use of a class in the template without a corresponding style ||
@@ -400,7 +400,7 @@ These rules extend the rules provided by ESLint itself, or other plugins to work
400
400
401
401
| Rule ID | Description ||
402
402
|:--------|:------------|:---|
403
-
|[svelte/no-inner-declarations](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inner-declarations/)| disallow variable or `function` declarations in nested blocks | :check_mark_button: |
403
+
|[svelte/no-inner-declarations](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inner-declarations/)| disallow variable or `function` declarations in nested blocks |:heavy_check_mark:|
404
404
|[svelte/no-trailing-spaces](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/)| disallow trailing whitespace at the end of lines |:wrench:|
405
405
406
406
## SvelteKit
@@ -426,8 +426,8 @@ These rules relate to this plugin works:
426
426
427
427
| Rule ID | Description ||
428
428
|:--------|:------------|:---|
429
-
|[svelte/comment-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/comment-directive/)| support comment-directives in HTML template | :check_mark_button: :star::classical_building:|
430
-
|[svelte/system](https://sveltejs.github.io/eslint-plugin-svelte/rules/system/)| system rule for working this plugin | :check_mark_button: :star::classical_building:|
429
+
|[svelte/comment-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/comment-directive/)| support comment-directives in HTML template |:heavy_check_mark::star::classical_building:|
430
+
|[svelte/system](https://sveltejs.github.io/eslint-plugin-svelte/rules/system/)| system rule for working this plugin |:heavy_check_mark::star::classical_building:|
0 commit comments