fix: only lint/format src; update base packages; use Node 18 in gh workflow

This commit is contained in:
Dragory 2023-05-08 21:32:33 +03:00
parent baee6d2d45
commit 111295361e
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
3 changed files with 1224 additions and 462 deletions

View file

@ -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",