Open fregante opened 4 days ago
An alternative solution is to find and disable all conflicting rules. In my case, for now, it's:
export default antfu({
rules: {
'style/arrow-parens': 'off',
'style/object-curly-spacing': 'off',
'style/brace-style': 'off',
'style/indent': 'off',
'style/operator-linebreak': 'off',
'style/quote-props': 'off',
'svelte/indent': 'off',
},
});
Which is not terrible, but also it's likely that new contributors will find more issues and won't know how to deal with them. eslint-config-prettier
already exists as a solution to this and it would be great to be able to use it.
Clear and concise description of the problem
I'd like to use Prettier (externally) and this config for everything else. The suggestion is generally to use either
stylistic
or prettier, but not both. The problem is thatstylistic
has extra linting rules that Prettier doesn't concern itself with.We have eslint-config-prettier for this purpose but I don’t think it works when plugins are renamed.
Suggested solution
Alternative
I think the alternative is
with the drawbacks:
Additional context
No response
Validations