Conversation
|
Try the Instant Preview in Online PlaygroundInstall the Instant Preview to Your LocalPublished Instant Preview Packages:
|
|
Thanks for the PR! |
|
From |
|
Hmm... I think the explanation of this plugin's config should focus on what to add to a configuration rather than how to create a new one, to make it easier to understand. Furthermore, I think it would be good to add documentation that the CLI command you provided is helpful when creating a new config. What do you think? |
|
Sounds good, I also tweaked the wording. Would like some clarity on |
ota-meshi
left a comment
There was a problem hiding this comment.
That's really cool! Thank you!
|
@ota-meshi wait! I left something funny in there! |
| - **`eslintPluginSvelte.configs.recommended`** ... Includes `base` configuration, plus rules to prevent errors or unintended behavior. | ||
| - **`eslintPluginSvelte.configs.prettier`** ... Disables rules that may conflict with [Prettier](https://prettier.io/). You still need to configure Prettier to work with Svelte manually, for example, by using [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte). | ||
| - **`eslintPluginSvelte.configs.all`** ... Includes all available rules. **Note:** This configuration is not recommended for production use, as it changes with every minor and major version of `eslint-plugin-svelte`. Use at your own risk. | ||
| - **`svelte.configs.base`** - Enables correct Svelte parsing. What does this include exactly? |
There was a problem hiding this comment.
Not supposed to be here!
There was a problem hiding this comment.
Oh, I don't understand English, so I often misread things.
Could you please submit a pull request to correct it?
Here are the specific details of the config.
there's discrepancy between the docs and the CLI output. This is an attempt to align them.