Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] the config shown on readme.md doesnt match the generated config #999

Closed
sacrosanctic opened this issue Jan 7, 2025 · 1 comment
Closed

Comments

@sacrosanctic
Copy link
Contributor

actual output

import svelte from 'eslint-plugin-svelte';
export default ts.config(
    ...
    ...svelte.configs['flat/recommended'],
    prettier,
    ...svelte.configs['flat/prettier'],
    ...
}

src: npx sv create

readme output

import eslintPluginSvelte from 'eslint-plugin-svelte';
export default [
  // add more generic rule sets here, such as:
  // js.configs.recommended,
  ...eslintPluginSvelte.configs.recommended,
  {
    rules: {
      // override/add rules settings here, such as:
      // 'svelte/rule-name': 'error'
    }
  }
];

src: https://github.com/sveltejs/eslint-plugin-svelte#configuration

related

https://discord.com/channels/457912077277855764/1326209584456798320

@ota-meshi
Copy link
Member

We are currently working on v3.
The README describes how to use v3.

@ota-meshi ota-meshi closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants