add indentation rule for eslint

This commit is contained in:
Konstantin Pogorelov
2021-02-18 13:03:25 +01:00
parent c44d157cfe
commit 7c35f1beb6

View File

@@ -17,6 +17,7 @@
"extends": "eslint:recommended",
"rules": {
"indent": [1, 2],
"array-bracket-spacing": [2, "never"],
"block-scoped-var": 2,
"brace-style": [2, "1tbs"],