npm install @cmsgov/eslint-config-design-system eslint-config-nava eslint --save-dev
Once installed, you can use it by specifying @cmsgov/eslint-config-design-system
in the extends
section of your ESLint configuration.
{
extends: "@cmsgov/eslint-config-design-system",
rules: {
// Additional, per-project rules...
}
}