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
It's a preprocessor to use with [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3) to produce AST valid to the original code.
5
+
It's a preprocessor to use with
6
+
[`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3) to
7
+
produce AST valid to the original code.
6
8
7
-
For now only TypeScript is supported but the idea is to add Coffeescript and Pug support, like the [`svelte-preprocess`](https://github.com/sveltejs/svelte-preprocess) package.
9
+
For now only TypeScript is supported but the idea is to add Coffeescript and Pug
Many thanks to [Conduitry](https://github.com/Conduitry) and her/his initial work on her/his [fork](https://github.com/Conduitry/eslint-plugin-svelte3).
13
+
Many thanks to [Conduitry](https://github.com/Conduitry) and her/his initial
14
+
work on her/his [fork](https://github.com/Conduitry/eslint-plugin-svelte3).
10
15
11
16
## Install
12
17
@@ -16,57 +21,60 @@ pnpm i -D eslint-svelte3-preprocess
16
21
17
22
## Usage
18
23
19
-
After following the docs of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3) to configure your `eslintrc.js` file, you will need to add some props required by [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser) and finally import your `svelte.config` file (if you would like to use the same configuration) and call the `elint-plugin-svelte3-preprocess` passing your preprocess as a parameter.
24
+
x After following the docs of
25
+
[`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3) to
26
+
configure your `eslintrc.js` file, you will need to add some props required by
I only tested it on Visual Studio Code, but I guess it should be similar for other editors. If you find the way to solve it, I would appreciate your collaboration to improve this documentation.
64
+
I only tested it on Visual Studio Code, but I guess it should be similar for
65
+
other editors. If you find the way to solve it, I would appreciate your
66
+
collaboration to improve this documentation.
61
67
62
68
### Visual Studio Code
63
69
64
-
Having [Svelte Beta](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode) and [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extensions, you need to add this to your configuration.
70
+
Having
71
+
[Svelte for VS Code](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode)
0 commit comments