This rule looks for any underscores (_) located within the source code. It ignores leading and trailing underscores and only checks those in the middle of a variable name. If ESLint decides that the variable is a constant (all uppercase), then no warning will be thrown. Otherwise, a warn...
"myPrivateVariable_ = \"Patrick\"", "function doSomething(){}", "do_something()", "new do_something", "new do_something()", "foo.do_something()", "var foo = bar.baz_boom;", "var foo = bar.baz_boom.something;", "foo.boom_pow.qux = bar.baz_boom.something;", "if (bar....
edited I'd like to setup eslint so that I can: Use lower camel case for all variable names (myImportedModule,myObject). Except: Use upper camel caseonlyfor class and constructor function names (MyClass),and nowhere else. Allow all upper snake cases for constants (MY_CONSTANT). This is...