answer/ui/.lintstagedrc.json

6 lines
159 B
JSON
Raw Normal View History

2022-09-27 17:59:05 +08:00
{
"*.{js,jsx,ts,tsx}": ["eslint --cache --fix"],
"*.{js,jsx,scss,md,json}": ["prettier --write"],
"*.ts?(x)": ["prettier --parser=typescript --write"]
2022-09-27 17:59:05 +08:00
}