mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
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:
commit
a56496ce2b
2
.github/workflows/codechecks.js.yml
vendored
2
.github/workflows/codechecks.js.yml
vendored
@ -45,5 +45,3 @@ jobs:
|
|||||||
run: yarn run lint-ci
|
run: yarn run lint-ci
|
||||||
- name: Typescript
|
- name: Typescript
|
||||||
run: yarn run tsc
|
run: yarn run tsc
|
||||||
- name: Typescript lint
|
|
||||||
run: yarn run lint-ts
|
|
||||||
|
@ -5,8 +5,8 @@ module.exports = {
|
|||||||
"es6": true
|
"es6": true
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
"plugin:@typescript-eslint/recommended",
|
// "plugin:@typescript-eslint/recommended",
|
||||||
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||||
],
|
],
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
@ -17,5 +17,8 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
'@typescript-eslint',
|
'@typescript-eslint',
|
||||||
],
|
],
|
||||||
rules: {}
|
rules: {
|
||||||
|
"@typescript-eslint/no-floating-promises": 2,
|
||||||
|
"@typescript-eslint/no-misused-promises": 2
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user