aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-09-20 11:52:34 +0200
committerstonedDiscord <Tukz@gmx.de>2023-09-20 11:52:34 +0200
commit5fc20f9dd53fe4d32be08d538782baa47c67853c (patch)
treeba0994a4c3a7b090d3732f7381b96e92ee365249 /.eslintrc.js
parent4db738e6e5e3287c3621501a01988ab90eed447e (diff)
make eslint a lot happier
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 83d8348..1c6b45b 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -2,6 +2,7 @@ module.exports = {
env: {
browser: true,
es2021: true,
+ jest: true,
},
extends: [
'airbnb-base',
@@ -11,5 +12,7 @@ module.exports = {
sourceType: 'module',
},
rules: {
+ "indent": ["warn", 2],
+ "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
},
};