We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it be possible to provide a config that will work with the new flat config format in eslint v9?
I see that support was added in this PR: #12
However, when I look at the code I don't see an exported config that is compatible with v9. All the exported configs use the old "extends" format https://github.com/intlify/eslint-plugin-svelte/blob/main/lib/configs/recommended.ts. I could totally be missing it though.
Thanks!
The text was updated successfully, but these errors were encountered:
I was able to get this working by using the eslint compat helper..
import { fixupPluginRules } from '@eslint/compat'; import intlifySvelte from '@intlify/eslint-plugin-svelte'; const intlifyFixedPlugin = fixupPluginRules(intlifySvelte); export default [ { plugins: { '@intlify/svelte': intlifyFixedPlugin }, rules: { '@intlify/svelte/no-raw-text': 'error' }, ignores: ['**/*.test.svelte'] },
But a native flat config format would be great!
Sorry, something went wrong.
Oh, the plugin doesn't provide flat config yet. Could you please consider opening a PR if possible?
Hey @ota-meshi I'd like to pick this up
@codiini Thank you! I'm looking forward to your pull request!
Successfully merging a pull request may close this issue.
Would it be possible to provide a config that will work with the new flat config format in eslint v9?
I see that support was added in this PR: #12
However, when I look at the code I don't see an exported config that is compatible with v9. All the exported configs use the old "extends" format https://github.com/intlify/eslint-plugin-svelte/blob/main/lib/configs/recommended.ts. I could totally be missing it though.
Thanks!
The text was updated successfully, but these errors were encountered: