mirror of
https://github.com/tornadocash/tornado-aggregator.git
synced 2024-12-04 15:14:36 +01:00
add lint rules
This commit is contained in:
parent
0b4e1059aa
commit
532679e924
11
.eslintrc
11
.eslintrc
@ -15,13 +15,20 @@
|
||||
"ecmaVersion": 2018
|
||||
},
|
||||
"rules": {
|
||||
"indent": ["error", 2],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"quotes": ["error", "single"],
|
||||
"semi": ["error", "never"],
|
||||
"object-curly-spacing": ["error", "always"],
|
||||
"comma-dangle": ["error", "always-multiline"],
|
||||
"require-await": "error",
|
||||
"prettier/prettier": ["error", { "printWidth": 110 }]
|
||||
"prettier/prettier": ["error", { "printWidth": 110 }],
|
||||
"template-curly-spacing": "off",
|
||||
"indent": [
|
||||
"error",
|
||||
2,
|
||||
{
|
||||
"ignoredNodes": ["TemplateLiteral"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user