You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that es6-react and es6-test both extend es6, and so the latter config's es6 extend will undo some of the rules overridden in the former config. (In the above case, no-extra-parens is reverted).
So it seems that for correct behavior you MUST extend only one configuration from this repo at a time – and as a result, we should add es6-react-test (or es6-test-react).
Just came across this when updating our Formidable & Victory component boilerplates. We potentially need to add an
es6-react-test
config.Let's say you want to write React tests, so your
.eslintrc-client-test
would have something like:The problem is that
es6-react
andes6-test
both extendes6
, and so the latter config'ses6
extend will undo some of the rules overridden in the former config. (In the above case,no-extra-parens
is reverted).So it seems that for correct behavior you MUST extend only one configuration from this repo at a time – and as a result, we should add
es6-react-test
(ores6-test-react
)./cc @ryan-roemer @baer
The text was updated successfully, but these errors were encountered: