0.2.0 • Published 8 years ago

eslint-config-vca v0.2.0

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
8 years ago

eslint-config-vca NPM version NPM downloads NPM license

ESLint shareable config for VCA

Install

$ npm install --save-dev eslint-config-vca

For the esnext version you'll also need Babel's ESLint parser and plugin:

$ npm install --save-dev babel-eslint eslint-plugin-babel

This 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