关闭eslint驼峰式校验(error Identifier ‘xxx‘ is not in camel case camelcase)

按网上的资料( http://eslint.cn/docs/rules/camelcase)设置了{ "properties": "never" },但本身这个规则就没通过校验,一致提示:

Configuration for rule "properties" is invalid:

Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"never"').

后面发现直接配置camelcase: 0, 就好了。不用配置"properties": "never"

你可能感兴趣的:(eslint)