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
+1-1
Original file line number
Diff line number
Diff line change
@@ -367,6 +367,7 @@ These rules relate to style guidelines, and are therefore quite subjective:
367
367
|[svelte/max-attributes-per-line](https://sveltejs.github.io/eslint-plugin-svelte/rules/max-attributes-per-line/)| enforce the maximum number of attributes per line |:wrench:|
368
368
|[svelte/mustache-spacing](https://sveltejs.github.io/eslint-plugin-svelte/rules/mustache-spacing/)| enforce unified spacing in mustache |:wrench:|
369
369
|[svelte/no-extra-reactive-curlies](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-extra-reactive-curlies/)| disallow wrapping single reactive statements in curly braces |:bulb:|
370
+
|[svelte/no-restricted-html-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-restricted-html-elements/)| disallow specific HTML elements ||
370
371
|[svelte/no-spaces-around-equal-signs-in-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-spaces-around-equal-signs-in-attribute/)| disallow spaces around equal signs in attribute |:wrench:|
371
372
|[svelte/prefer-class-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-class-directive/)| require class directives instead of ternary expressions |:wrench:|
372
373
|[svelte/prefer-style-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-style-directive/)| require style directives instead of style attribute |:wrench:|
@@ -382,7 +383,6 @@ These rules extend the rules provided by ESLint itself, or other plugins to work
382
383
| Rule ID | Description ||
383
384
|:--------|:------------|:---|
384
385
|[svelte/no-inner-declarations](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inner-declarations/)| disallow variable or `function` declarations in nested blocks |:star:|
385
-
|[svelte/no-restricted-html-elements](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-restricted-html-elements/)| disallow specific HTML elements ||
386
386
|[svelte/no-trailing-spaces](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/)| disallow trailing whitespace at the end of lines |:wrench:|
Copy file name to clipboardExpand all lines: docs/rules.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ These rules relate to style guidelines, and are therefore quite subjective:
80
80
|[svelte/max-attributes-per-line](./rules/max-attributes-per-line.md)| enforce the maximum number of attributes per line |:wrench:|
81
81
|[svelte/mustache-spacing](./rules/mustache-spacing.md)| enforce unified spacing in mustache |:wrench:|
82
82
|[svelte/no-extra-reactive-curlies](./rules/no-extra-reactive-curlies.md)| disallow wrapping single reactive statements in curly braces |:bulb:|
83
+
|[svelte/no-restricted-html-elements](./rules/no-restricted-html-elements.md)| disallow specific HTML elements ||
83
84
|[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:|
84
85
|[svelte/prefer-class-directive](./rules/prefer-class-directive.md)| require class directives instead of ternary expressions |:wrench:|
85
86
|[svelte/prefer-style-directive](./rules/prefer-style-directive.md)| require style directives instead of style attribute |:wrench:|
@@ -92,11 +93,10 @@ These rules relate to style guidelines, and are therefore quite subjective:
92
93
93
94
These rules extend the rules provided by ESLint itself, or other plugins to work well in Svelte:
0 commit comments