hydra-newmedia eslint config comes with two different styles (base
and modern
) and a vue
style for vue project.
npm install --save-dev @hydrant/eslint-config eslint
Add these lines to your package.json
:
"eslintConfig": {
"extends": "@hydrant/eslint-config/base"
}
Add these lines to your package.json
:
"eslintConfig": {
"extends": "@hydrant/eslint-config/modern"
}
Install the package with all vue dependencies:
npm install --save-dev @hydrant/eslint-config eslint eslint-plugin-vue eslint-plugin-html
Add these lines to your package.json
:
"eslintConfig": {
"extends": "@hydrant/eslint-config/vue"
}
MIT