我用来设置规则camelcase 'camelcase': ["error", {properties: "never"}], as it mentioned in docs。No error a_b: number, // Identifier 'a_b' is not in camel case.eslint(camelcase)
export ty
我有一个很大的JavaScript文件,其中有多个eslint规则冲突。我正在尝试禁用它们,并逐个解决它们。下面的代码显示,我可以毫不费力地禁用它们,但不能禁用camelcase的规则,也不能禁用其他单独的规则。根据eslint文档,我使用的方法应该是有效的,但我的解释中肯定存在缺陷。/* eslint-disable /* eslint-disable// works but gets everything