1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Tools: Added rules to linter

This commit is contained in:
Laurent Cozic 2019-10-09 21:24:07 +02:00
parent add9dda759
commit d355169b60
2 changed files with 6 additions and 1 deletions

View File

@ -45,3 +45,4 @@ Server/docs/
Server/dist/
Server/bin/
Server/node_modules/
ElectronClient/app/packageInfo.js

View File

@ -72,7 +72,11 @@ module.exports = {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}]
}],
"multiline-comment-style": ["error", "separate-lines"],
"space-before-blocks": "error",
"spaced-comment": ["error", "always"],
"keyword-spacing": ["error", { "before": true, "after": true }]
},
"plugins": [
"react",