Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  19] [ 2]  / answers: 1 / hits: 15917  / 6 Years ago, sun, july 15, 2018, 12:00:00

Is it possible to throw errors instead of warnings using Eslint?
I am working with a create-react-app and want to have a really strict lint policy in my team, and thought that this might be a good start.



Is that possible?


More From » eslint

 Answers
4

--max-warnings can serve this purpose: --max-warnings=0 means that any warnings cause eslint to report an error.



https://github.com/eslint/eslint/issues/2309#issuecomment-219828044


[#53979] Wednesday, July 11, 2018, 6 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ryderalfonsos

Total Points: 655
Total Questions: 88
Total Answers: 91

Location: Nauru
Member since Thu, Feb 2, 2023
1 Year ago
ryderalfonsos questions
Mon, Sep 9, 19, 00:00, 5 Years ago
Wed, Feb 13, 19, 00:00, 5 Years ago
Tue, Feb 12, 19, 00:00, 5 Years ago
Fri, Dec 28, 18, 00:00, 6 Years ago
;