Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upGlobally defining eslint overrides #367
Comments
This comment has been minimized.
This comment has been minimized.
|
I'm sympathetic to this. We already support a |
feross
added
v6
labels
Dec 29, 2015
This comment has been minimized.
This comment has been minimized.
|
Would this be just for disabling rules? |
This comment has been minimized.
This comment has been minimized.
davidmarkclements
commented
Jan 4, 2016
|
+1 to this - I'm having the exact same issue with react-blessed |
This comment has been minimized.
This comment has been minimized.
84564221
commented
Jan 6, 2016
This comment has been minimized.
This comment has been minimized.
|
I've switched my projects to use |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@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. |
rstacruz commentedDec 25, 2015
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?