From ef28c355ef69fee7511956751bbdb5dcd1a931b1 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Sep 2023 12:40:52 +0200 Subject: enable ts linting --- .eslintrc.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.eslintrc.js') 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 }], }, }; -- cgit