Our group is narrowing down on eslint, the Standard JS rule set. Unfortunately, I developed 2K lines of code using legal JS w.r.t. braces: i.e. don't use braces with one-line statements in for, while, if, etc. It'll take me several hours to convert to braces everywhere if we decide on that.
OTOH, we may simply have that one curly override, but in the mean time, has anyone developed a "fix" that will add (unnecessary) braces so as to conform to JS Standard (and many other) rule sets? The regex from hell, I guess! Thanks! ESLint has saved me so much time tracking down silly bugs that I'll gladly adapt any rule set our group agrees on! -- Owen -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
