eslint-plugin-svelte3 icon indicating copy to clipboard operation
eslint-plugin-svelte3 copied to clipboard

An ESLint plugin for Svelte v3 components.

Results 55 eslint-plugin-svelte3 issues
Sort by recently updated
recently updated
newest added

Hi, I'm probably misunderstanding how this plugin is supposed to work. I was expecting that the rules that are applied for vanilla `*.ts` files should also be applies in `*.svelte`...

Go to https://github.com/sveltejs/eslint-plugin-svelte for the official plugin. See [this PR](https://github.com/sveltejs/kit/pull/9749) for an example of how to migrate your eslint config. #### Original message https://github.com/ota-meshi/eslint-plugin-svelte https://github.com/ota-meshi/svelte-eslint-parser cc @Conduitry

1. Get this file: https://github.com/KeiferJu/svelma-pro/blob/2.0.0/src/components/Slider/Thumb.svelte 2. Use this config: ```javascript module.exports = { root: true, extends: ['standard'], rules: { 'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 2, maxEOF: 0 }], //...

https://github.com/sveltejs/eslint-plugin-svelte3/issues/22 appeared to request this, but it looks like it was resolved in a different way. I think it would be helpful to have support for `` in the templates...

Fixes #123 This PR detects if the style block contains the "global" attribute and filters "css-unused-selector" warnings if true. The desired UX is to have the following code not emit...

I'm not sure if this is actually a `eslint-plugin-svelte3` problem or just a general `eslint` or `babel-eslint` problem, but it's happening in `.svelte` files so I thought I'd share it...

bug

I have enabled type-aware linting rules as per the README (which I think is the reason people are using typescript in the first place) and everything works except in a...

I know that the plugin doesn't work with prettier at the moment. However, the documentation doesn't explain the rationale behind this decision, and whether you have interest in "fixing" it...

enhancement

When I define `parserOptions.project` Eslint won't lint Svelte files. I think this may be due to the fact that when `parserOptions.project` are set, Eslint will only lint files in the...

I have code like this: ```svelte {#each items as item} {@const left = () * 100 + '%'} {@const width = () * 100 + '%'} {#if !item.secondary} {/if} {/each}...