Skip to content

Commit 0df71ea

Browse files
yungstersfacebook-github-bot
authored andcommitted
RN: Prohibit ESLint Warnings (#51825)
Summary: Pull Request resolved: #51825 Configures `yarn lint` to fail if there are any ESLint warnings. Changelog: [Internal] Reviewed By: kassens, NickGerleman Differential Revision: D75988059 fbshipit-source-id: 20f94492803d8b000f8424ef9ff8a19276f35fd9
1 parent cf9d28a commit 0df71ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint-ci": "./.github/workflow-scripts/analyze_code.sh && yarn shellcheck",
2020
"lint-java": "node ./scripts/lint-java.js",
2121
"lint-markdown": "markdownlint-cli2 2>&1",
22-
"lint": "eslint .",
22+
"lint": "eslint --max-warnings 0 .",
2323
"prettier": "prettier --write \"./**/*.{js,md,yml,ts,tsx}\"",
2424
"print-packages": "node ./scripts/monorepo/print",
2525
"shellcheck": "./.github/workflow-scripts/analyze_scripts.sh",

0 commit comments

Comments
 (0)