-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Globally defining eslint overrides #367
Comments
I'm sympathetic to this. We already support a |
Would this be just for disabling rules? |
+1 to this - I'm having the exact same issue with react-blessed |
I've switched my projects to use |
So users can specify custom rules. Works in `package.json`: ```json { "standard": { "rules": { "semi": [2, "always"] } } } ``` For user that need to tweak one rule for their particular project. Fixes standard/standard#367
@askmatey I don't think this is an infringement of The Standard Way™, just an evolution. I've been wanting to expose the underlying eslint configurability via In the past, I've rejected such things on the basis that we want to avoid configurability in In the future, I want to move to a model where Maybe we can even remove React support from Here's a PR to add support to Works in {
"standard": {
"rules": {
"semi": [2, "always"]
}
}
} This will be released in standard v6. |
Is it possible? I know this was deliberately not possible to discourage bikeshedding, but hear me out here:
I'm using deku as an alternative to React. deku allows you to do
<div class="foo">
when React insists on you doingclassName="foo"
. usingclass
, however, makes standard throw an error:I know I can disable this on a per-file basis, but this makes my boilerplate very cumbersome:
Any other sane workarounds here?
The text was updated successfully, but these errors were encountered: