This package provides a ESLint shareable config for the VI Company's JS coding style.
We love the Airbnb config, but we don't agree on everything and it's easier to maintain our own config.
To make use of this config, install ESLint and this package as a development dependency of your project:
npm install eslint eslint-config-vi --save-dev
Create a .eslintrc.*
config file:
module.exports = {
extends: 'vi'
};
{
"extends": "vi"
}
Or add the ESLint config to your package.json
:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "vi"
}
}
The default configuration supports ES2015 (ES6) code.
If you need to support legacy code, you can use the vi/legacy
config:
{
"extends": "vi/legacy"
}
For Node.js development you can use the vi/node
config:
{
"extends": "vi/node"
}
Read the Changelog
MIT © VI Company