@f5devcentral/eslint-config-f5-atg

An eslint config for F5 Automation Toolchain projects

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@f5devcentral/eslint-config-f5-atg
0.1.83 months ago4 years agoMinified + gzip package size for @f5devcentral/eslint-config-f5-atg in KB

Readme

eslint-config-f5-atg
This is the shared eslint config for the Automation Toolchain Group.

Consumers

Adding a new consumer

  • To consume this module, run the following command from your consuming project:

npm install --save-dev @f5devcentral/eslint-config-f5-atg

  • Next, add the following to your package.json file.
"eslintConfig": {
    "extends": "f5-atg"
}

  • Lastly, eslint dependencies are no longer directly required in your consuming project, as they are dependencies of eslint-config-f5-atg.

"eslint": "^5.4.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",

becomes
"eslint-config-f5-atg": "latest"

Development

When editing any part of this package, use npm link to debug before redeploying the module. To do this, run npm link from within this project. In a project that consumes this config, run npm link eslint-config-f5-atg. This creates a link to the local copy of the project rather than the published npm module.