mirror of https://github.com/laurent22/joplin.git
Tools: Added rules to linter
parent
add9dda759
commit
d355169b60
|
@ -45,3 +45,4 @@ Server/docs/
|
|||
Server/dist/
|
||||
Server/bin/
|
||||
Server/node_modules/
|
||||
ElectronClient/app/packageInfo.js
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue