ESLint plugin to ignore files listed in .gitignore
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-gitignore
:
npm install @nasa-gcn/eslint-config-gitignore --save-dev
Add gitignore
to the plugins section of your .eslintrc
configuration file.
{
"extends": [
"@nasa-gcn/eslint-config-gitignore"
]
}