sveltejs/eslint-plugin-svelte3#75
When using this plugin with eslint-plugin-svelte3, this code:
<script>
import {dev} from "$app/env" // eslint-disable-line import/no-unresolved
import CookieConsent from "$lib/layout/CookieConsent.svelte"
import Footer from "$lib/layout/Footer.svelte"
import Nav from "$lib/layout/Nav.svelte"
import "../app.css"
</script>
Becomes:
<script>
import "../app.css"
import {dev} from "$app/env" // eslint-disable-line import/no-unresolved
import CookieConsent from "$lib/layout/CookieConsent.svelte"
import Footer from "$lib/layout/Footer.svelte"
import Nav from "$lib/layout/Nav.svelteport "../app.css"
</script>
Is this fixable on the simple-import-sort side of things?
I'd also be happy to fix manually if there were an option to disable autofix.
sveltejs/eslint-plugin-svelte3#75
When using this plugin with eslint-plugin-svelte3, this code:
Becomes:
Is this fixable on the simple-import-sort side of things?
I'd also be happy to fix manually if there were an option to disable autofix.