Open lucasrmendonca opened 2 years ago
I am using a .eslintrc.json file as such:
.eslintrc.json
{ "settings": { "import/extensions": [".js"] }, "ignorePatterns": ["node_modules/"], "parserOptions": { "ecmaVersion": "latest" }, "extends": ["eslint:recommended"], "rules": { "arrow-body-style": ["error", "as-needed"], } }
But even though I have arrow-body-style being used, when I run:
arrow-body-style
npx eslint-find-rules -unused --ext .json
It lists the arrow-body-style rule as one of the "unused" ones. Why?
Hi @ta2edchimp any ideas on why this is happening?
I am using a
.eslintrc.json
file as such:But even though I have
arrow-body-style
being used, when I run:It lists the
arrow-body-style
rule as one of the "unused" ones. Why?