mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Updates .ts-eslintrc with new settings, see https://github.com/import-js/eslint-plugin-import/issues/653#issuecomment-840228881 and https://typescript-eslint.io/docs/linting/troubleshooting/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors for the impetus
This commit is contained in:
parent
3ba2bab59f
commit
bd58674626
@ -20,6 +20,8 @@ module.exports = {
|
||||
rules: {
|
||||
"@typescript-eslint/no-floating-promises": 2,
|
||||
"@typescript-eslint/no-misused-promises": 2,
|
||||
"semi": ["error", "always"]
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['warn'],
|
||||
'no-undef': 'off',
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user