Unverified Commit 3506398d authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

fix: revert removed flags from lint-staged config (#66381)

cc @ijjk @samcx 

Revert removed flags from lint-staged.

x-ref:
https://github.com/vercel/next.js/pull/65861#issuecomment-2140007873
parent a2a94ab1
module.exports = { module.exports = {
'*.{js,jsx,mjs,ts,tsx,mts}': [ '*.{js,jsx,mjs,ts,tsx,mts}': [
'prettier --write', 'prettier --with-node-modules --ignore-path .prettierignore --write',
'eslint --no-ignore --max-warnings=0 --fix', 'eslint --no-ignore --max-warnings=0 --fix',
], ],
'*.{json,md,mdx,css,html,yml,yaml,scss}': ['prettier --write'], '*.{json,md,mdx,css,html,yml,yaml,scss}': [
'*.rs': ['cargo fmt'], 'prettier --with-node-modules --ignore-path .prettierignore --write',
],
'*.rs': ['cargo fmt --'],
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment