Unverified Commit 5787cbd9 authored by matamatanot's avatar matamatanot Committed by GitHub

Update lint-staged (#12225)

parent 96f8455a
...@@ -11,7 +11,6 @@ module.exports = { ...@@ -11,7 +11,6 @@ module.exports = {
`eslint --no-ignore --max-warnings=0 --fix ${filenames `eslint --no-ignore --max-warnings=0 --fix ${filenames
.map(f => `"${f}"`) .map(f => `"${f}"`)
.join(' ')}`, .join(' ')}`,
`git add ${escapedFileNames}`,
] ]
}, },
'**/*.{json,md,mdx,css,html,yml,yaml,scss}': filenames => { '**/*.{json,md,mdx,css,html,yml,yaml,scss}': filenames => {
...@@ -20,7 +19,6 @@ module.exports = { ...@@ -20,7 +19,6 @@ module.exports = {
.join(' ') .join(' ')
return [ return [
`prettier --with-node-modules --ignore-path .prettierignore_staged --write ${escapedFileNames}`, `prettier --with-node-modules --ignore-path .prettierignore_staged --write ${escapedFileNames}`,
`git add ${escapedFileNames}`,
] ]
}, },
} }
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
"isomorphic-unfetch": "3.0.0", "isomorphic-unfetch": "3.0.0",
"jest-cli": "24.9.0", "jest-cli": "24.9.0",
"lerna": "3.14.1", "lerna": "3.14.1",
"lint-staged": "9.4.2", "lint-staged": "10.1.7",
"moment": "^2.24.0", "moment": "^2.24.0",
"node-fetch": "2.6.0", "node-fetch": "2.6.0",
"node-notifier": "5.4.0", "node-notifier": "5.4.0",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
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