done with eslint for now (some warnings remain)

pull/8592/head
Niklas Fiekas 2021-04-07 21:04:53 +02:00
parent 94b447d343
commit b3a854ff8c
3 changed files with 6 additions and 6 deletions

View File

@ -15,6 +15,8 @@
"no-duplicate-imports": "error",
"prefer-spread": "off",
"prefer-rest-params": "off",
"no-useless-escape": "off",
"no-constant-condition": ["warn", {"checkLoops": false}],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
@ -23,8 +25,7 @@
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"eqeqeq": "off",
"no-constant-condition": "off",
"no-async-promise-executor": "off"
"no-var": "warn",
"no-async-promise-executor": "warn"
}
}

View File

@ -14,5 +14,5 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: yarn install
- run: yarn run lint
- run: yarn run lint --format visualstudio
- run: yarn run check-format

View File

@ -34,8 +34,7 @@
"scripts": {
"format": "prettier --write .",
"check-format": "prettier --check .",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix"
"lint": "eslint . --ext .ts"
},
"workspaces": [
"ui",