diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-09-20 12:40:52 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2023-09-20 12:40:52 +0200 |
| commit | ef28c355ef69fee7511956751bbdb5dcd1a931b1 (patch) | |
| tree | d1d3d1f831de752ec7c323c167b075763627bba3 /.eslintrc.js | |
| parent | abf87b75f8a57e6de0ef7349f6577a0e1c39ce1b (diff) | |
enable ts linting
Diffstat (limited to '.eslintrc.js')
| -rw-r--r-- | .eslintrc.js | 7 |
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 }], }, }; |
