Svelte Plugin
Rules for Svelte, a UI framework that uses a compiler to let you write breathtakingly concise components that do minimal work in the browser.
This plugin is provided in a standalone @flint.fyi/plugin-svelte npm package.
Implemented: 0 of 43 (0%)
| Flint Rule | Preset |
|---|---|
atDebugTags | logical |
duplicateElseIfBlocks | logical |
duplicateStyleProperties | logical |
duplicateUseDirectives | logical |
eachBlockKeys | logical |
infiniteReactivityLoops | logical |
inspectRunes | logical |
kitPagePropNames | logical |
manualDomManipulations | logical |
mustacheObjects | logical |
pageLoaders | logical |
reactiveReassignments | logical |
shorthandStylePropertyOverrides | logical |
specialElementPrefixes | logical |
svelteInternalImports | logical |
svelteReactivityClasses | logical |
unknownStyleDirectiveProperties | logical |
unnecessaryStateWraps | logical |
unresolvedNavigations | logical |
unusedProps | logical |
unusedSvelteIgnores | logical |
uselessChildrenSnippets | logical |
uselessMustaches | logical |
validEachKeys | logical |
writableDerivedStores | logical |
blockLang | logical (strict) |
buttonTypes | logical (strict) |
inlineStyles | logical (strict) |
manualEventListeners | logical (strict) |
optimizedStyleAttributes | logical (strict) |
topLevelBrowserGlobals | logical (strict) |
unusedClassNames | logical (strict) |
validStyleParsing | logical (strict) |
atHtmlTags | security |
targetBlankLinks | security (strict) |
classDirectives | stylistic (strict) |
eventPrefixes | stylistic (strict) |
htmlCommentSpacing | stylistic (strict) |
selectorConsistency | stylistic (strict) |
selfClosingHtmlElements | stylistic (strict) |
shorthandAttributes | stylistic (strict) |
shorthandDirectives | stylistic (strict) |
styleDirectives | stylistic (strict) |
Made with ❤️🔥 around the world by
the Flint team and contributors.