-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix *.vue and eslint #13
Comments
Au passage, j'ai mis à jour le wrapper du makefile (make lint) pour qu'il appel explicitement npm run lint |
De tête je ne sais pas te répondre, mais à mon avis, il faut voir comment j'ai configuré estlint dans lodex. |
C'est ça: https://github.com/Inist-CNRS/lodex/blob/master/app/components/.eslintrc.js module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "vue",
"rules": {
"brace-style": [
"error",
"stroustrup",
{ "allowSingleLine": true }
],
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
}; Oh, et il faut sans doute ajouter quelques dépendences de dev: https://github.com/Inist-CNRS/lodex/blob/master/package.json#L120-L122 "eslint-config-vue": "^1.1.0",
"eslint-plugin-html": "^1.5.3",
"eslint-plugin-vue": "^0.1.1", |
Fixed by @21a7574 |
Merci François ! Le mar. 11 oct. 2016 10:19, François Parmentier [email protected]
|
Voici ce que j'obtiens qd j'essayer de linter les fichier vue :( Une idée ?
The text was updated successfully, but these errors were encountered: