0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

chore(ui): add tsc in lint-staged script

This commit is contained in:
Gao Sun 2021-07-25 22:39:45 +08:00
parent 6bf7254c04
commit 64ea9d49ea
2 changed files with 5 additions and 5 deletions

View file

@ -0,0 +1,4 @@
module.exports = {
'*.ts?(x)': ['eslint --format pretty --cache --fix', () => 'tsc -p tsconfig.json --noEmit'],
"*.scss": "stylelint --fix"
};

View file

@ -58,9 +58,5 @@
"stylelint": {
"extends": "@logto/eslint-config-react/.stylelintrc"
},
"prettier": "@logto/eslint-config/.prettierrc",
"lint-staged": {
"*.{ts,tsx}": "eslint --format pretty --cache --fix",
"*.scss": "stylelint --fix"
}
"prettier": "@logto/eslint-config/.prettierrc"
}