Merge pull request #461 from vector-im/bwindels/disable-ts-lint

Disable TS lint again on CI, as it will be too harsh for an initial migration
This commit is contained in:
Bruno Windels 2021-08-18 16:54:27 +00:00 committed by GitHub
commit a56496ce2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View file

@ -45,5 +45,3 @@ jobs:
run: yarn run lint-ci
- name: Typescript
run: yarn run tsc
- name: Typescript lint
run: yarn run lint-ts

View file

@ -5,8 +5,8 @@ module.exports = {
"es6": true
},
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
// "plugin:@typescript-eslint/recommended",
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
],
parser: '@typescript-eslint/parser',
parserOptions: {
@ -17,5 +17,8 @@ module.exports = {
plugins: [
'@typescript-eslint',
],
rules: {}
rules: {
"@typescript-eslint/no-floating-promises": 2,
"@typescript-eslint/no-misused-promises": 2
}
};