eslint-config-vodafone-default
v1.0.8
Published
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code similar to JSLint and JSHint. However, It does have a few exceptions:
Downloads
1
Readme
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code similar to JSLint and JSHint. However, It does have a few exceptions:
- ESLint uses Espree for JavaScript parsing.
- ESLint uses an AST to evaluate patterns in code.
- ESLint is completely pluggable, every single rule is a plugin and you can add more at runtime.
##This package provides VHA vodafone default’s .eslintrc as an extensible shared config.
#Install
npm install eslint-config-vodafone-default
#Usage Shareable configs are designed to work with the extends feaure of .eslintrc files.
To use the VHA Vodafone default Style shareable config, first run this: npm install --save-dev eslint-config-vodafone-default
Then, add this to your .eslintrc file:
{
"extends": "vodafone-default"
}
Note: The eslint-config- prefix is omitted since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your .eslintrc file.
You can run tests with the command:
npm test
You can make sure this module lints with itself using:
npm run lint