Explain
This project uses parser "vue-eslint-parser"
And plugin "vue"
.
Inherits "manpacker"
Install
npm install eslint -D
npm install eslint-config-manpacker-vue -D
Usage
- Add
.eslintrc
file to your project.
Or.eslintrc
file does not exist, Create a new file.
npx eslint --init
Configuration content of file.
{
"extends": ["manpacker-vue"]
}
- You can add a configuration entry to the
package.json
file as follows.
"eslintConfig": {
"extends": ["manpacker-vue"]
}
Refer to the following configuration.
Example:
"eslintConfig": {
"root": true,
"extends": ["manpacker-vue"],
"rules": {}
}