Backbase's eslint configuration options
npm install @backbase/eslint-config-backbaseBackbase's eslint configuration option
| Name | eslint-config |
|------------|---|
| Version | 1.0.0 |
| Binary | N/A |
| Public | ✔ |
| Registry | https://www.npmjs.com/package/@backbase/eslint-config-backbase |
| Owner | dragos@backbase.com |
| Status | |
npm install --save-dev @backbase/eslint-config-backbase
If you want to extend a specific configuration file, you can use the extends property and specify the path to the file. The path can be either relative or absolute.
Configurations can be extended by using:
- YAML file
- JSON file
- JS file
Shareable configuration package
The extended configuration provides base rules, which can be overridden by the configuration that references it. For example:
- YAML
``yaml`
extends: "@backbase/eslint-config-backbase"
#Override any settings from the "parent" configuration
quotes:
- 1
- "double"
- JSON
`json``
{
"extends": "@backbase/eslint-config-backbase",
"rules": {
"quotes": [2, "double"]
}
}