问题
I want to use camelCase function argument names:
myFunc(goodArg, BadArg) {
...
}
I found ESLint's camelcase rule. Unfortunately it does not apply to argument names, just variables and properties.
Is there a way to automatically just function argument names? I don't mind using another linter if it helps.
来源:https://stackoverflow.com/questions/36777168/eslint-rule-for-camelcased-argument-names