我正在尝试转换为@typescript-eslint,但文档似乎非常缺乏。例如,我得到的错误如下: Line 58: Expected a semicolon @typescript-eslint/member-delimiter-style 我不想强制使用分号或逗号https://github.com/bradzacher/eslint-plugin-typescript/blob/master/docs/rules
我注意到,如果我在这里完成步骤和运行eslint,它在大多数文件上运行良好,但是它会导致对其中包含this变量的文件出现以下问题。/bin/eslint.js components/profile/profile.js at NodeEventGenerator.enterNode (/home/ubuntu
可能'eslint‘说的是:prettier重新格式化后的indent: Expected indentation of 2 spaces but found 4.。我的.eslintrc.js parser: '@typescript-eslint/parser', // Specifies the ESLint parser'plugin:@typescript-eslint/recommende