Modify lint-staged.config.js to use yarn
parent
4b7ed54faf
commit
64ee3446e8
|
@ -1,8 +1,8 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
'*.json': ['npm run format:check'],
|
'*.json': ['yarn format:check'],
|
||||||
'*.{ts,tsx,js,jsx}': [
|
'*.{ts,tsx,js,jsx}': [
|
||||||
'npm run lint',
|
'yarn lint',
|
||||||
"bash -c 'npm run types:check'",
|
"bash -c 'yarn types:check'",
|
||||||
'npm run format:check',
|
'yarn format:check',
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue