aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-09-20 12:40:52 +0200
committerstonedDiscord <Tukz@gmx.de>2023-09-20 12:40:52 +0200
commitef28c355ef69fee7511956751bbdb5dcd1a931b1 (patch)
treed1d3d1f831de752ec7c323c167b075763627bba3 /.eslintrc.js
parentabf87b75f8a57e6de0ef7349f6577a0e1c39ce1b (diff)
enable ts linting
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 1c6b45b..5951e2e 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -5,14 +5,17 @@ module.exports = {
jest: true,
},
extends: [
- 'airbnb-base',
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended'
],
+ parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
+ plugins: ['@typescript-eslint'],
rules: {
- "indent": ["warn", 2],
+ "indent": ["warn", 4],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
},
};