aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2025-07-14 22:33:37 +0200
committerDavid Skoland <davidskoland@gmail.com>2025-07-14 22:33:37 +0200
commitda8d864cb28d9a08f136b44764975c772f2730a6 (patch)
treed1da9428c302b93f940be4c0f575b4a9bf58f1e4 /.eslintrc.js
parent99bb1a1fa212b2c1be7bf04d7de23b25f89e29c6 (diff)
Set ESLint indent to 2 spaces
The whole codebase is formatted with 2 space indentation so update .eslint.js to reflect that.
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 5f96bbc..99e93ae 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -15,7 +15,7 @@ module.exports = {
},
plugins: ['@typescript-eslint'],
rules: {
- "indent": ["warn", 4, { "SwitchCase": 1 }],
+ "indent": ["warn", 2, { "SwitchCase": 1 }],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
},
};