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:
parent
d7fae6b5b8
commit
ab29d7e872
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user