在Microsoft Visual Studio Code中使用ESLint时,ESLint决定我的制表符是四个空格。当我点击“快速修复”和“修复这个缩进问题”时,它可以很好地修复它,但是为什么我的Tab键没有插入ESLint识别的制表符?你知道怎么让ESLint注册我的标签吗?我不希望完全禁用该规则,但如果有必要的话,我会这样做。 编辑:这个问题似乎只出现在我的index.js文件中。
我需要对接口或类型中的属性使用snake_case。我用来设置规则camelcase 'camelcase': ["error", {properties: "never"}], as it mentioned in docs。No error a_b: number, // Identifier 'a_b' is not in camel case.eslint(camelc