Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root825997yIt keeps your coffee nice and clean and easy to read.
Sure, you can write code that looks minified, but why would you want to? -
@Ashkin I don't think it's making my code more readable, instead forcing me to spend more time on fixing according to its rules. Sometimes I prefer to leave some lines empty during development for readability or to remind me to put code later here. But i cannot add more than 1 empty line
-
Also I dont know how readability has improved by forcing programmer to put else block on new line
if () {
}
else {
}
This appears much better to me
if () {
} else {
} -
Root825997y@jalebiBhai You can change its rules -- and with forced bracketing like that, I would highly recommend it...
-
Yep, if you configure ESLint to your liking it's pretty good I think.
Plus, I configured one of my macro keys to paste in "// eslint-disable-line" so I can silence it with one keypress if it does something stupid :D -
Well I guess if a kid is playing with his/her hair while whistling and not sitting up straight, something must be wrong.
-
NGPixel7007y@marcus5914 Standard is a ruleset for eslint...
eslint by itself doesn't do anything, it validates your code based on the rules or ruleset you provide it. Don't like a rule? Just remove it from your eslint config. -
@NGPixel I know that. Some time having so many option is a curse. Standard take care of it and I can focus on code.
EsLint => 3n errors in you code.
Program failed to run
Removed ESLint
And application ran forever
EsLint is like that mother that warns her daughter time to time. Dont sit like this. Dont play with your hair. Dont whistle
devrant
eslint
this is insane
mommy
javascript