1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Chore: Add line break style, and use of template to eslint rules

This commit is contained in:
Laurent Cozic 2019-09-19 22:49:17 +01:00
parent d7fae6b5b8
commit ab29d7e872

View File

@ -48,6 +48,12 @@ module.exports = {
"indent": ["error", "tab"],
"comma-dangle": ["error", "always-multiline"],
"no-trailing-spaces": "error",
"linebreak-style": ["error", "unix"],
// This error is always a false positive so far since it detects
// possible race conditions in contexts where we know it cannot happen.
"require-atomic-updates": 0,
"prefer-template": ["error"],
"template-curly-spacing": ["error", "never"]
},
"plugins": [
"react",