diff options
Diffstat (limited to 'subprojects/frontend')
-rw-r--r-- | subprojects/frontend/.eslintrc.cjs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/subprojects/frontend/.eslintrc.cjs b/subprojects/frontend/.eslintrc.cjs index 466e5668..25b86a83 100644 --- a/subprojects/frontend/.eslintrc.cjs +++ b/subprojects/frontend/.eslintrc.cjs | |||
@@ -49,6 +49,15 @@ module.exports = { | |||
49 | // In typescript, some class methods implementing an inderface do not use `this`: | 49 | // In typescript, some class methods implementing an inderface do not use `this`: |
50 | // https://github.com/typescript-eslint/typescript-eslint/issues/1103 | 50 | // https://github.com/typescript-eslint/typescript-eslint/issues/1103 |
51 | 'class-methods-use-this': 'off', | 51 | 'class-methods-use-this': 'off', |
52 | // Disable rules with a high performance cost. | ||
53 | // See https://typescript-eslint.io/linting/troubleshooting/performance-troubleshooting/ | ||
54 | 'import/default': 'off', | ||
55 | 'import/extensions': 'off', | ||
56 | 'import/named': 'off', | ||
57 | 'import/namespace': 'off', | ||
58 | 'import/no-named-as-default': 'off', | ||
59 | 'import/no-named-as-default-member': 'off', | ||
60 | '@typescript-eslint/indent': 'off', | ||
52 | // Make sure every import can be resolved by `eslint-import-resolver-typescript`. | 61 | // Make sure every import can be resolved by `eslint-import-resolver-typescript`. |
53 | 'import/no-unresolved': 'error', | 62 | 'import/no-unresolved': 'error', |
54 | // Organize imports automatically. | 63 | // Organize imports automatically. |