eslint-config-backbase
Backbase's eslint configuration option
INFORMATION
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 |
INSTALL
npm install --save-dev @backbase/eslint-config-backbase
USAGE
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
extends: "@backbase/eslint-config-backbase"
#Override any settings from the "parent" configuration
quotes:
- 1
- "double"
- JSON
{
"extends": "@backbase/eslint-config-backbase",
"rules": {
"quotes": [2, "double"]
}
}
CONTRIBUTING
@todo
REFRENCES
TODO
- add eslint-plugin-angular
- add custom backbase rules