[question] apply different configs to different files. #8356
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
question
This issue asks a question about ESLint
Sometimes we need apply different configs to different files. eg. in
*.vue
,*.jsx
, we need some rules to check, while in*.md
, we don't need, since it is just an example.if in
*.md
, eslint may report some error(s) likeSystem is not defined.
But I expect not.As far as I know, if all the markdown files are in one directory, I can create a
.eslintrc
to override. But if not,what should I do?The text was updated successfully, but these errors were encountered: