ESLint rule for camelCased argument names

痴心易碎 提交于 2021-01-29 03:05:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!