This package provides an ESLint config for the VI Company's JS coding style.
The eslint-config-vi
is based on the eslint-config-airbnb-base config. That config is well maintained and we agree with most of the rules set. We extend the eslint-config-airbnb-base
with our own rules.
The eslint-config-airbnb-base
is defined as a peerDependency so it should be installed separately.
To make use of this config, install this package and its peerDepencies as a development dependencies of your project. eslint-config-airbnb-base
also makes use of peerDependencies which also needs to be installed:
npx install-peerdeps eslint-config-vi
npx install-peerdeps eslint-config-airbnb-base -o
Create a .eslintrc.*
config file:
module.exports = {
extends: 'vi'
};
{
"extends": "vi"
}
The default vi
config supports ES2015+ code and targets the browser.
For Node.js development you can use the eslint-config-vi/node
config:
module.exports = {
extends: 'eslint-config-vi/node'
};
Read the Changelog
MIT © VI Company