eslint-config
eslint-config copied to clipboard
Extend README to mention different file types for type aware rules
Clear and concise description of the problem
The README explains how to activate type aware rules here but this does e.g. not work for Vue files out of the box. It is required to add an option like this:
typescript: {
tsconfigPath: './tsconfig.json',
filesTypeAware: ['**\/*.{ts,tsx,vue}'],
}
Suggested solution
Mention the filesTypeAware
option in README to improve user experience.
Alternative
Add vue
and other commonly used values as defaults.
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
nit: Vue is not added by default as it drastically increases lint time
I see! Also a very valueable information :) Thanks.
I don't use type-aware rules myself tbh. Would love to see a PR and discuss otherwise I don't expect myself fixing that any sooner.