@department-of-veterans-affairs/eslint-plugin
v1.18.2
Published
ESLint plugin for va.gov projects
Downloads
8,455
Maintainers
Keywords
Readme
@department-of-veterans-affairs/eslint-plugin
ESLint rules and configs for VA.gov projects.
Install & Usage
$ yarn add --dev @department-of-veterans-affairs/eslint-plugin
.eslintrc.js (example using a config)
module.exports = {
extends: ['plugin:@department-of-veterans-affairs/recommended'],
}
.eslintrc.js (example using rules)
module.exports = {
plugins: ['@department-of-veterans-affairs'],
rules: {
'@department-of-veterans-affairs/correct-apostrophe': 1,
}
}