Просмотр исходного кода

chore(vscode): Use new Code Actions on Save and Auto (#61535)

Scott Cooper 1 год назад
Родитель
Сommit
ee2d2ab97e
1 измененных файлов с 3 добавлено и 7 удалено
  1. 3 7
      .vscode/settings.json

+ 3 - 7
.vscode/settings.json

@@ -17,12 +17,8 @@
   "files.trimFinalNewlines": true,
   "files.insertFinalNewline": true,
 
-  "files.associations": {
-    "*.jsx": "javascriptreact"
-  },
-
   "editor.codeActionsOnSave": {
-    "source.fixAll.eslint": true
+    "source.fixAll.eslint": "explicit"
   },
 
   "[javascript]": {
@@ -60,8 +56,8 @@
   "[python]": {
     "editor.formatOnSave": true,
     "editor.codeActionsOnSave": {
-      "source.organizeImports": true,
-      "source.fixAll.eslint": false
+      "source.organizeImports": "explicit",
+      "source.fixAll.eslint": "never"
     },
     "editor.defaultFormatter": "ms-python.black-formatter"
   },