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
+21-21
Original file line number
Diff line number
Diff line change
@@ -319,21 +319,21 @@ These rules relate to possible syntax or logic errors in Svelte code:
319
319
320
320
| Rule ID | Description ||
321
321
|:--------|:------------|:---|
322
-
|[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. ||
323
-
|[svelte/no-dom-manipulating](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dom-manipulating/)| disallow DOM manipulating ||
322
+
|[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. |:star:|
323
+
|[svelte/no-dom-manipulating](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dom-manipulating/)| disallow DOM manipulating |:star:|
|[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 |:star:|
329
329
|[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 |:star:|
330
-
|[svelte/no-raw-special-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-raw-special-elements/)| Checks for invalid raw HTML elements |:wrench:|
|[svelte/no-raw-special-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-raw-special-elements/)| Checks for invalid raw HTML elements |:star::wrench:|
|[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 |:star:|
333
-
|[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 ||
333
+
|[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 |:star:|
|[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 ||
336
-
|[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:|
336
+
|[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. |:star::wrench:|
337
337
|[svelte/valid-compile](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-compile/)| disallow warnings when compiling. |:star:|
338
338
339
339
## Security Vulnerability
@@ -355,23 +355,23 @@ These rules relate to better ways of doing things to help you avoid problems:
355
355
|[svelte/button-has-type](https://sveltejs.github.io/eslint-plugin-svelte/rules/button-has-type/)| disallow usage of button without an explicit type attribute ||
356
356
|[svelte/no-at-debug-tags](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-debug-tags/)| disallow the use of `{@debug}`|:star:|
357
357
|[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. ||
358
-
|[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. ||
358
+
|[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. |:star:|
359
359
|[svelte/no-inline-styles](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inline-styles/)| disallow attributes and directives that produce inline styles ||
360
-
|[svelte/no-inspect](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inspect/)| Warns against the use of `$inspect` directive ||
361
-
|[svelte/no-reactive-functions](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-functions/)| it's not necessary to define functions in reactive statements |:bulb:|
362
-
|[svelte/no-reactive-literals](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-literals/)| don't assign literal values in reactive statements |:bulb:|
363
-
|[svelte/no-svelte-internal](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/)| svelte/internal will be removed in Svelte 6. ||
360
+
|[svelte/no-inspect](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inspect/)| Warns against the use of `$inspect` directive |:star:|
361
+
|[svelte/no-reactive-functions](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-functions/)| it's not necessary to define functions in reactive statements |:star::bulb:|
362
+
|[svelte/no-reactive-literals](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-literals/)| don't assign literal values in reactive statements |:star::bulb:|
363
+
|[svelte/no-svelte-internal](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/)| svelte/internal will be removed in Svelte 6. |:star:|
364
364
|[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 ||
|[svelte/no-useless-children-snippet](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-children-snippet/)| disallow explicit children snippet where it's not needed ||
|[svelte/no-useless-children-snippet](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-children-snippet/)| disallow explicit children snippet where it's not needed |:star:|
|[svelte/prefer-const](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-const/)| Require `const` declarations for variables that are never reassigned after declared |:wrench:|
369
369
|[svelte/prefer-destructured-store-props](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-destructured-store-props/)| destructure values from object stores for better change tracking & fewer redraws |:bulb:|
|[svelte/require-event-dispatcher-types](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/)| require type parameters for `createEventDispatcher`||
|[svelte/require-event-dispatcher-types](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/)| require type parameters for `createEventDispatcher`|:star:|
372
372
|[svelte/require-optimized-style-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/)| require style attributes that can be optimized ||
373
-
|[svelte/require-stores-init](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-stores-init/)| require initial value in store ||
374
-
|[svelte/valid-each-key](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-each-key/)| enforce keys to use variables defined in the `{#each}` block ||
373
+
|[svelte/require-stores-init](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-stores-init/)| require initial value in store |:star:|
374
+
|[svelte/valid-each-key](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-each-key/)| enforce keys to use variables defined in the `{#each}` block |:star:|
375
375
376
376
## Stylistic Issues
377
377
@@ -414,9 +414,9 @@ These rules relate to SvelteKit and its best Practices.
414
414
415
415
| Rule ID | Description ||
416
416
|:--------|:------------|:---|
417
-
|[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. ||
417
+
|[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. |:star:|
418
418
|[svelte/no-navigation-without-base](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-navigation-without-base/)| disallow using navigation (links, goto, pushState, replaceState) without the base path ||
419
-
|[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. ||
419
+
|[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. |:star:|
0 commit comments