eslint-vue/README.md
2020-05-17 19:08:20 +02:00

39 lines
736 B
Markdown

# @sapphirecode/eslint-config-vue
[![Package quality](https://packagequality.com/badge/%40sapphirecode%2Feslint-config-vue)](https://packagequality.com/#?package=%40sapphirecode%2Feslint-config-vue)
version: 1.1.x
scode eslint configuration for vue.js
## Installation
npm:
> npm i --save-dev @sapphirecode/eslint-config-vue
yarn:
> yarn add --dev @sapphirecode/eslint-config-vue
then create a file named .eslintrc.js with the following contents.
it is a basic configuration, it can be customized to your preferences.
```js
module.exports = {
env: {
commonjs: true,
es6: true,
node: true
},
extends: [
'@sapphirecode/eslint-config-vue'
]
}
```
## License
BSD-3-Clause © Timo Hocker <timo@scode.ovh>