1.0.30 • Published 5 years ago
eslint-config-holo v1.0.30
eslint-config-holo
ESLint shareable config
Install
yarn add -D eslint-config-holoUsage
Add the ESLint config to your package.json:
{
"name": "my-project",
...
"eslintConfig": {
"extends": "holo"
}
}Or to eslintrc.js or eslintrc.json:
{
"extends": "holo"
}Targets
If you are developing with Javascript consider adding:
{
"extends": "holo",
"env": {
"browser": true
}
}or use the platform specific configs for Node.js:
{
"extends": "holo/node"
}or Vue.js:
{
"extends": "holo/vue"
}Using the vue extended config will require you to additionally install eslint-plugin-vue and babel-eslint
yarn add -D babel-eslint eslint-plugin-vue