done with eslint for now (some warnings remain)
parent
94b447d343
commit
b3a854ff8c
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue