0.2.0 • Published 10 years ago
eslint-config-vca v0.2.0
eslint-config-vca

ESLint shareable config for VCA
Install
$ npm install --save-dev eslint-config-vcaFor the esnext version you'll also need Babel's ESLint
parser and
plugin:
$ npm install --save-dev babel-eslint eslint-plugin-babelThis will let you use ES2016 features like
async/await and
decorators. For a full list
of features see
Babel's experimental features and
their Learn ES2015.
Usage
Add some ESLint config to your package.json:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "vca"
}
}Or to .eslintrc:
{
"extends": "vca"
}Supports parsing ES2015, but doesn't enforce it by default.
This package also exposes vca/esnext if you want ES2015+ rules:
{
"extends": "vca/esnext"
}And vca/browser if you're in the browser:
{
"extends": "vca/browser"
}License
MIT © VCA Technology