greggman / eslint-plugin-google-camelcase

ESLint plugin to enforce camelCase names optionally prefixed by `opt_`
Other
1 stars 4 forks source link

add `argsIgnorePattern` option #3

Closed erwinmombay closed 8 years ago

erwinmombay commented 8 years ago

can we add a "argsIgnorePattern" option like the no-unused-vars rule. We'd like to have a prefix that the rule can skip over.

http://eslint.org/docs/rules/no-unused-vars.html

greggman commented 8 years ago

Just a suggestion but you could just clone this, rename it erwinmombay-camelcase and add whatever features you want. That's what I did for a project where I needed something different. Example:

https://github.com/greggman/HappyFunTimes/blob/master/dev/rules/hft-camelcase.js

erwinmombay commented 8 years ago

@greggman sgtm