Svelte
Recipes
- Disallow dynamic slot name
- Disallow spaces around equal signs in attribute
- Disallow to use of the store itself as an operand. Need to use $ prefix or get function
- Disallow unnecessary mustache interpolations
- Enforce consistent indentation
- Enforce consistent spacing after the <!-- and before the --> in a HTML comment
- Enforce order of attributes
- Enforce quotes style of HTML attributes
- Enforce self-closing style
- Enforce the location of first attribute
- Enforce the maximum number of attributes per line
- Enforce unified spacing in mustache
- Enforce use of shorthand syntax in attribute
- Enforce use of shorthand syntax in directives
- Recommended svelte code cleanup
- Require class directives instead of ternary expressions
- Require or disallow a space before tag's closing brackets
- Require style directives instead of style attribute