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
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -333,9 +333,8 @@ These rules relate to possible syntax or logic errors in Svelte code:
333
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 |:white_check_mark::star::classical_building:|
|[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:|
337
-
|[svelte/valid-compile](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-compile/)| disallow warnings when compiling. |:white_check_mark:|
338
-
|[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
+
|[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. |:white_check_mark::star::classical_building::wrench:|
337
+
|[svelte/valid-compile](https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-compile/)| disallow warnings when compiling. |:white_check_mark::star::classical_building:|
339
338
340
339
## Security Vulnerability
341
340
@@ -367,10 +366,10 @@ These rules relate to better ways of doing things to help you avoid problems:
|[svelte/require-event-dispatcher-types](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/)| require type parameters for `createEventDispatcher`||
371
-
|[svelte/require-optimized-style-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/)| require style attributes that can be optimized ||
369
+
|[svelte/require-event-dispatcher-types](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/)| require type parameters for `createEventDispatcher`|:white_check_mark::classical_building:|
370
+
|[svelte/require-optimized-style-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/)| require style attributes that can be optimized |:classical_building:|
372
371
|[svelte/require-stores-init](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-stores-init/)| require initial value in store ||
373
-
|[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 ||
372
+
|[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 |:white_check_mark::star::classical_building:|
374
373
375
374
## Stylistic Issues
376
375
@@ -414,6 +413,7 @@ These rules relate to SvelteKit and its best Practices.
414
413
|:--------|:------------|:---|
415
414
|[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. ||
416
415
|[svelte/no-goto-without-base](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-goto-without-base/)| disallow using goto() without the base path ||
416
+
|[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. ||
|[svelte/infinite-reactive-loop](./rules/infinite-reactive-loop.md)| Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. |:white_check_mark::classical_building:|
22
-
|[svelte/no-deprecated-raw-special-elements](./rules/no-deprecated-raw-special-elements.md)| Recommends not using raw special elements in Svelte versions previous to 5. |:white_check_mark::star::wrench:|
23
-
|[svelte/no-dom-manipulating](./rules/no-dom-manipulating.md)| disallow DOM manipulating |:white_check_mark::star::classical_building:|
|[svelte/no-dynamic-slot-name](./rules/no-dynamic-slot-name.md)| disallow dynamic slot name |:white_check_mark::classical_building::wrench:|
29
-
|[svelte/no-not-function-handler](./rules/no-not-function-handler.md)| disallow use of not function in event handler |:classical_building:|
30
-
|[svelte/no-object-in-text-mustaches](./rules/no-object-in-text-mustaches.md)| disallow objects in text mustache interpolation |:white_check_mark::star::classical_building:|
|[svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md)| disallow shorthand style properties that override related longhand properties |:white_check_mark::star::classical_building:|
33
-
|[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 |:white_check_mark::star::classical_building:|
|[svelte/require-store-callbacks-use-set-param](./rules/require-store-callbacks-use-set-param.md)| store callbacks must use `set` param ||
36
-
|[svelte/require-store-reactive-access](./rules/require-store-reactive-access.md)| disallow to use of the store itself as an operand. Need to use $ prefix or get function. |:wrench:|
37
-
|[svelte/valid-compile](./rules/valid-compile.md)| disallow warnings when compiling. |:white_check_mark:|
38
-
|[svelte/valid-prop-names-in-kit-pages](./rules/valid-prop-names-in-kit-pages.md)| disallow props other than data or errors in SvelteKit page components. ||
|[svelte/infinite-reactive-loop](./rules/infinite-reactive-loop.md)| Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent. |:white_check_mark::classical_building:|
22
+
|[svelte/no-deprecated-raw-special-elements](./rules/no-deprecated-raw-special-elements.md)| Recommends not using raw special elements in Svelte versions previous to 5. |:white_check_mark::star::wrench:|
23
+
|[svelte/no-dom-manipulating](./rules/no-dom-manipulating.md)| disallow DOM manipulating |:white_check_mark::star::classical_building:|
|[svelte/no-dynamic-slot-name](./rules/no-dynamic-slot-name.md)| disallow dynamic slot name |:white_check_mark::classical_building::wrench:|
29
+
|[svelte/no-not-function-handler](./rules/no-not-function-handler.md)| disallow use of not function in event handler |:classical_building:|
30
+
|[svelte/no-object-in-text-mustaches](./rules/no-object-in-text-mustaches.md)| disallow objects in text mustache interpolation |:white_check_mark::star::classical_building:|
|[svelte/no-shorthand-style-property-overrides](./rules/no-shorthand-style-property-overrides.md)| disallow shorthand style properties that override related longhand properties |:white_check_mark::star::classical_building:|
33
+
|[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 |:white_check_mark::star::classical_building:|
|[svelte/require-store-callbacks-use-set-param](./rules/require-store-callbacks-use-set-param.md)| store callbacks must use `set` param ||
36
+
|[svelte/require-store-reactive-access](./rules/require-store-reactive-access.md)| disallow to use of the store itself as an operand. Need to use $ prefix or get function. |:white_check_mark::star::classical_building::wrench:|
37
+
|[svelte/valid-compile](./rules/valid-compile.md)| disallow warnings when compiling. |:white_check_mark::star::classical_building:|
39
38
40
39
## Security Vulnerability
41
40
@@ -67,10 +66,10 @@ These rules relate to better ways of doing things to help you avoid problems:
|[svelte/require-event-dispatcher-types](./rules/require-event-dispatcher-types.md)| require type parameters for `createEventDispatcher`||
71
-
|[svelte/require-optimized-style-attribute](./rules/require-optimized-style-attribute.md)| require style attributes that can be optimized ||
69
+
|[svelte/require-event-dispatcher-types](./rules/require-event-dispatcher-types.md)| require type parameters for `createEventDispatcher`|:white_check_mark::classical_building:|
70
+
|[svelte/require-optimized-style-attribute](./rules/require-optimized-style-attribute.md)| require style attributes that can be optimized |:classical_building:|
72
71
|[svelte/require-stores-init](./rules/require-stores-init.md)| require initial value in store ||
73
-
|[svelte/valid-each-key](./rules/valid-each-key.md)| enforce keys to use variables defined in the `{#each}` block ||
72
+
|[svelte/valid-each-key](./rules/valid-each-key.md)| enforce keys to use variables defined in the `{#each}` block |:white_check_mark::star::classical_building:|
74
73
75
74
## Stylistic Issues
76
75
@@ -114,6 +113,7 @@ These rules relate to SvelteKit and its best Practices.
|[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 SvelteKit page components. ||
116
115
|[svelte/no-goto-without-base](./rules/no-goto-without-base.md)| disallow using goto() without the base path ||
116
+
|[svelte/valid-prop-names-in-kit-pages](./rules/valid-prop-names-in-kit-pages.md)| disallow props other than data or errors in SvelteKit page components. ||
0 commit comments