eslint is looking inside the folders coverage
crisfcodes opened this issue · comments
kcd-scripts
version: 11.1.0node
version: 14.16.1yarn
version: 1.22.10
Relevant code or config
// .eslintrc.js
module.exports = {
extends: './node_modules/kcd-scripts/eslint.js',
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json',
},
}
What you did:
I extend kcd-scripts
inside my .eslintrc.js
config, I add lint: kcd-scripts lint
as script in my package.json
so I run yarn lint
and works fine but its trowing errors from coverage folder. I should add that I am using other plugins within my eslint configuration such as eslint-plugin-eslint-comments, but this should not be a problem, as the plugin is doing its job but is throwing errors from a folder that is supposed to be ignored by eslint script.
What happened:
This is the result error showing by IDE console when I run yarn lint
check the coverage folder in path:
Reproduction repository:
Problem description:
Suggested solution: