fix: only lint/format src; update base packages; use Node 18 in gh workflow
This commit is contained in:
parent
baee6d2d45
commit
111295361e
3 changed files with 1224 additions and 462 deletions
|
@ -4,9 +4,9 @@
|
|||
"description": "",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"format": "prettier --write './**/*.{css,html,js,json,ts,tsx}'",
|
||||
"lint": "tslint \"./{backend,dashboard}/{,!(node_modules)/**/}/*.ts\"",
|
||||
"codestyle-check": "prettier --check './**/*.{css,html,js,json,ts,tsx}'"
|
||||
"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}'",
|
||||
"codestyle-check": "prettier --check './backend/src/**/*.{css,html,js,json,ts,tsx}' './dashboard/src/**/*.{css,html,js,json,ts,tsx}'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"husky": "^3.0.9",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue