chore: switch from tslint to eslint
This commit is contained in:
parent
16fa19d3e9
commit
9b3d6f5d68
5 changed files with 2147 additions and 181 deletions
10
package.json
10
package.json
|
@ -5,17 +5,19 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"format": "prettier --write './backend/src/**/*.{css,html,js,json,ts,tsx}' './dashboard/src/**/*.{css,html,js,json,ts,tsx}'",
|
||||
"lint": "tslint './backend/src/**/*.{js,ts,tsx}' './dashboard/src/**/*.{js,ts,tsx}'",
|
||||
"lint": "eslint './backend/src/**/*.{js,ts,tsx}' './dashboard/src/**/*.{js,ts,tsx}'",
|
||||
"codestyle-check": "prettier --check './backend/src/**/*.{css,html,js,json,ts,tsx}' './dashboard/src/**/*.{css,html,js,json,ts,tsx}'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
||||
"@typescript-eslint/parser": "^5.59.5",
|
||||
"eslint": "^8.40.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"husky": "^3.0.9",
|
||||
"lint-staged": "^9.4.2",
|
||||
"prettier": "^2.8.4",
|
||||
"prettier-plugin-organize-imports": "^3.2.2",
|
||||
"tsc-watch": "^6.0.4",
|
||||
"tslint": "^5.13.1",
|
||||
"tslint-config-prettier": "^1.18.0",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"husky": {
|
||||
|
@ -25,7 +27,7 @@
|
|||
},
|
||||
"lint-staged": {
|
||||
"*.ts": [
|
||||
"tslint",
|
||||
"eslint",
|
||||
"prettier --write",
|
||||
"git add"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue