-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat: Allow eslint customization per project? #59
Comments
Just don’t commit changes to We need a list of properties that should be always overwritten, removed, etc. |
Ok, I would leave |
That would likely end up in having different styles across all repos then, but yes I also struggled a few times with // Relaxed in standard, complains with eslint-config-webpack
...map(x => x * 2)
...map((x) => x * 2)
const a = x === 42 ? y : z
const a = x === 42
? y
: z And... 😛 const obj = {
a: 'foo',
b: 'bar', <= comma dangle 🤢
} |
+1 for Prettier as ESLint plugin. And it can be set up to insert dangling commas which is also cool ;-) |
Yeah, 👍 for Prettier. Also eslint rule relaxation in certain cases. That's better than overrides. |
Are these our custom rules or there are from Airbnb? |
@sapegin - These rules started out based on Airbnb, the deprecations were removed and then the rules we didn't agree with were updated over time. |
A thought. I'm all for using Prettier but at some point For the initial push to get everything up to date, imo we should leave things as they are less bugs, commit what we need to the Target using Prettier for Personally I think there is more value to both consumers & maintainers to get defaults 1.x out to include test suites for loaders that don't have them. The lack of |
I really need to pay attention to which github account I am on when commenting ... |
There really is no need to allow customizations nor is there a good place to draw the line. This standards thing exists because it makes it easier to context switch between projects when maintaining. It's interesting that Everyone wants to use Prettier in 2.x, fine. It makes very little difference to me given everything we write is transpiled anyway. Which every way the wind blows this time, they will all be the same and none of them change until we are finished with the more pressing work. Just keep in mind that six months from now, someone, somewhere will want to use JS Standard or whatever comes next. You can't please everyone nor is it in our mandate to do so. |
Closing in favor of the working issue for Prettier integration ( #84 ) |
Context: webpack-contrib/uglifyjs-webpack-plugin#35 (comment) .
To make it easier to port projects to defaults, it would make sense to allow local ESLint overrides (should be removed later but this helps in getting over the hedge).
The text was updated successfully, but these errors were encountered: