Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Replace all warns with errors #48

Merged
merged 2 commits into from
Oct 23, 2017
Merged

Replace all warns with errors #48

merged 2 commits into from
Oct 23, 2017

Conversation

ismail-syed
Copy link
Contributor

@ismail-syed ismail-syed commented Oct 23, 2017

We pretty much treat all warn as error anyways, let's make this explicit.

@ismail-syed ismail-syed merged commit 1790119 into master Oct 23, 2017
@GoodForOneFare
Copy link
Member

Context:

*Chris*
the idea was that all lint errors were errors

we only made some warnings because errors were obnoxious in Atom at one point :stuck_out_tongue:

if we let warnings through then we a) need to have a harder rule on what is a warning and what is an error, and b) have some criteria for ignorable warnings

both seem really hard to do well so I would rather just follow the stylelint approach here (all things are errors)

if we have linting warnings we think are usuablly ignorable we should turn the rule off

*Tyler*
can we reclassify everything in our linting config as errors then?

if you’re running eslint outside the context of sewing-kit but are using the config then you have to explicitly set `max-warnings` on your lint task

which is a little obscure

*Chris*
I’d be happy with that

@kaelig kaelig deleted the error-everything branch January 12, 2018 02:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants