eslint-config-phd
v1.0.3
Published
Eslint config used by Pedro Dominici
Downloads
2
Readme
⚙️ @phd/Eslint config
Tasks
Tasks to finalize the package
- [x] Vue rules
- [ ] React rules
- [ ] Node rules
Usagem
First step
$ npm install eslint-config-phd
in eslintrc.js
module.exports {
//... other configs
extendes: ['eslint-config-phd/vue']
// change vue to you framework
// ... more configs
}
Rules
vue
printWidth: 80,
singleQuote: true,
semi: false,
trailingComma: 'es5',
vueIndentScriptAndStyle: true,
tabWidth: 2,