enforce camelcase names but allow opt_ prefix
npm install eslint-plugin-google-camelcase
ESLint rule for enforcing camelcase variable but allowing the prefix opt_.
This is the google javascript style guide
rules.
You follow the google javascript style guide.
The google javascript style guide is almost exactly the same as the default
eslint camelcase rule.
The difference is google's style requires optional arugments to start with the prefix opt_.
* http://eslint.org/