Package Exports
- @nice-move/eslint-config-vue
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nice-move/eslint-config-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@nice-move/eslint-config-vue 
A eslint config created by best practice.
Installation
npm install eslint @nice-move/eslint-config-vue --save-dev
Usage
Add to package.json
{
"eslintConfig": {
"extends": "@nice-move/eslint-config-vue"
}
}
Then run
eslint --fix
Tips
EcmaScript version
Defaults to use compilerOptions.target
in jsconfig.json
or es2020
Environment settings
Environment | pattern |
---|---|
browser | .js , .vue , .html |
node.js | .mjs , .cjs , .node in .md |
es modules | .mjs , .js , .vue , .html |
commonjs | .cjs , source code in webpack project |
webpack | source code in webpack project |
best-shot | src/** |