diff --git a/lint-staged.config.js b/lint-staged.config.js index 799e354dde..f2288d680d 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -21,8 +21,8 @@ module.exports = { // See https://github.com/lint-staged/lint-staged/issues/934#issuecomment-743299357 '*.{js,jsx,ts,tsx,task1}': 'yarn checkIgnoredFiles', '*.{js,jsx,ts,tsx,task2}': 'yarn spellcheck', - '*.{js,jsx,ts,tsx,task3}': 'yarn packageJsonLint', - '*.{js,jsx,ts,tsx,task4}': 'yarn linter-precommit', + '*.{js,jsx,ts,tsx,task3}': 'yarn linter-precommit', + '*.{json,task4}': 'yarn packageJsonLint', '*.{md,mdx,task5}': 'yarn spellcheck', '*.{md,mdx,task6}': 'yarn validateFilenames', };