@spartanbio/eslint-config-vue
v1.1.0
Published
Spartan Bio's ESLint config for Vue
Downloads
8
Readme
Spartan Bio ESLint config for Vue
ESlint config used with Vue by Spartan Bio.
Usage
- Add this package and its peer dependencies to
devDependencies
$ npx install-peerdeps --dev @spartanbio/eslint-config-vue
- Add
.eslintrc.js
with the following:
module.exports = {
extends: ['@spartanbio/eslint-config-vue'],
};
If using babel, use:
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module',
},
extends: ['@spartanbio/eslint-config-vue'],
};