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
I'm trying to override eslint configuration.
(this is to add standardjs config, I'm not debating in here if it's ok or not)
Changing
{
esLintConfig: {
extends: "react-app"
}
}
to
{
esLintConfig: {
extends: "standard"
}
}
in package.json has no effect. Neither removing entirely esLintConfig, adding .eslintrc file or both. npm run build doesn't complain about nothing
Just curious, I npm run ejected, and now everything works like a charm. npm run build takes esLintConfig correctly into account.
EDIT : again, this is not a topic about standardjs or not standardjs. The topic is about configurability of shipped eslint. This is configurable/overridable when ejected, and not when not ejected
The text was updated successfully, but these errors were encountered:
I'm trying to override eslint configuration.
(this is to add standardjs config, I'm not debating in here if it's ok or not)
Changing
to
in package.json has no effect. Neither removing entirely
esLintConfig
, adding .eslintrc file or both.npm run build
doesn't complain about nothingJust curious, I
npm run eject
ed, and now everything works like a charm.npm run build
takesesLintConfig
correctly into account.EDIT : again, this is not a topic about standardjs or not standardjs. The topic is about configurability of shipped eslint. This is configurable/overridable when ejected, and not when not ejected
The text was updated successfully, but these errors were encountered: