answer/ui/.lintstagedrc.json

6 lines
159 B
JSON

{
"*.{js,jsx,ts,tsx}": ["eslint --cache --fix"],
"*.{js,jsx,less,md,json}": ["prettier --write"],
"*.ts?(x)": ["prettier --parser=typescript --write"]
}