google / eslint-config-google

ESLint shareable config for the Google JavaScript style guide
Apache License 2.0
1.74k stars 140 forks source link

opt_ naming conflicts with ESLint's camelcase rule #21

Closed kazarmy closed 8 years ago

kazarmy commented 8 years ago

The Google Style Guide states that optional arguments must start with the opt_ prefix, but this conflicts with ESLint's camelcase rule that is enabled by xo.

Disable camelcase?

kazarmy commented 8 years ago

Found eslint-plugin-google-camelcase which is based on an old version of the ESLint camelcase rule. Enough for me though.