Base ESLint config for Staffbase based on Google's config
$ npm install --save-dev eslint eslint-config-google @staffbase/eslint-config-staffbase
or
$ yarn add --dev eslint eslint-config-google @staffbase/eslint-config-staffbase
Once the @staffbase/eslint-config-staffbase
package is installed, you can use it by specifying @staffbase/eslint-config-staffbase
in the extends
section of your ESLint configuration.
{
"extends": "@staffbase/eslint-config-staffbase",
"rules": {
// Additional, per-project rules...
}
}