3506398d37
cc @ijjk @samcx Revert removed flags from lint-staged. x-ref: https://github.com/vercel/next.js/pull/65861#issuecomment-2140007873
10 lines
335 B
JavaScript
10 lines
335 B
JavaScript
module.exports = {
|
|
'*.{js,jsx,mjs,ts,tsx,mts}': [
|
|
'prettier --with-node-modules --ignore-path .prettierignore --write',
|
|
'eslint --no-ignore --max-warnings=0 --fix',
|
|
],
|
|
'*.{json,md,mdx,css,html,yml,yaml,scss}': [
|
|
'prettier --with-node-modules --ignore-path .prettierignore --write',
|
|
],
|
|
'*.rs': ['cargo fmt --'],
|
|
}
|