ESLint configuration for Vue.js projects.
npm i @infermedica/eslint-config-vue --save-dev
This config is designed to work with the extends
feature of .eslintrc
files,
learn more.
Add this to your .eslintrc
or package.json
file:
{
"extends": "@infermedica/eslint-config-vue"
}
You can override settings from this config by adding them directly into your
.eslintrc
or package.json
file.
Recommended set of commands to put in package.json
scripts:
"lint:js": "eslint --ext .js,.vue .",
"lint-autofix:js": "eslint --ext .js,.vue . --fix",
MIT Copyright (c) Infermedica