最近,我开始使用Visual Studio Code作为我的编辑器,并发现了更漂亮的- JavaScript格式化程序。我认为这是一个很棒的插件,因为它让我的代码看起来很漂亮。我设置了Airbnb的ESLint配置,发现它非常有用。
这就是问题所在。我目前正在运行的AirbnbESLint配置在更漂亮的环境下运行得并不好。例如,对于JavaScript字符串,Prettier的格式设置为包含双刻度,Airbnb的ESLint类似于单刻度。当我
我想包含来自的规则,但是它与我当前的.eslintrc冲突,因为我使用的是和。[ "plugin:@typescript-eslint/recommended", // Uses the recommended rulesfrom the @typescript-eslint/eslint-plugin
"
可能'eslint‘说的是:prettier重新格式化后的indent: Expected indentation of 2 spaces but found 4.。我的.eslintrc.js parser: '@typescript-eslint/parser', // Specifies the ESLint parserextends: [
'plugin:react/recomme