fix(scripts): add eslint to format:ts command

This commit is contained in:
Alexander Shelepenok 2022-04-22 18:15:10 +00:00 committed by GitHub
parent b38359f295
commit 4ff8389c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@
"clean": "rimraf .cache public", "clean": "rimraf .cache public",
"format": "npm run format:ts && npm run format:scss", "format": "npm run format:ts && npm run format:scss",
"format:scss": "stylelint \"src/**/*.scss\" --fix", "format:scss": "stylelint \"src/**/*.scss\" --fix",
"format:ts": "prettier --write .", "format:ts": "eslint \"src\" --ext .tsx,.ts --fix && prettier --write .",
"lint": "npm run lint:ts && npm run lint:scss", "lint": "npm run lint:ts && npm run lint:scss",
"lint:commit": "commitlint --edit", "lint:commit": "commitlint --edit",
"lint:scss": "stylelint \"src/**/*.scss\"", "lint:scss": "stylelint \"src/**/*.scss\"",