Проблема с интервалом между отступами в файле Prettier vscode json

При сохранении любого файла он имеет отступ с двумя вкладками, т.е. 4 пробела в начале. Какое правило конфликтует с настройками prettier и .vscode?

Настройки конфигурации редактора приведены ниже:

root = true [*] charset = utf-8 end_of_line = lf insert_final_newline = true indent_style = space indent_size = 2 trim_trailing_whitespace = true max_line_length = 120

Попытка сделать отступ с двумя пробелами,
происходит только с json-файлами и другими скриптами.

настройки vscode

{ «[javascript]»: { «editor.formatOnSave»: false }, «eslint.alwaysShowStatus»: true, «files.autoSave»: «onFocusChange», «prettier.proseWrap»: «preserve», «emmet.includeLanguages»: { «javascript»: «javascriptreact», «vue-html»: «html», «plaintext»: «jade», «edge»: «html» }, «emmet.syntaxProfiles»: { «javascript»: «jsx» }, «emmet.triggerExpansionOnTab»: true, «emmet.showSuggestionsAsSnippets»: true, «files.associations»: { «*.js»: «javascriptreact» }, «editor.fontSize»: 14, «git.enableSmartCommit»: true, «git.confirmSync»: false, «search.exclude»: { «**/__snapshots__/**»: true, «**/.bin»: true, «**/.git»: true, «**/.next»: true, «**/bower_components»: true, «**/coverage/**»: true, «**/node_modules»: false, «**/node_modules/**»: true, «**/report/**»: true, «**/tmp»: true }, «javascript.updateImportsOnFileMove.enabled»: «always», «explorer.confirmDragAndDrop»: false, «explorer.confirmDelete»: false, «workbench.editor.enablePreviewFromQuickOpen»: false, «files.exclude»: { «.next»: true, «*.log»: true, «**/__pycache__»: true, «**/o»: true, «dist»: true, «geckodriver.log»: true, «node_modules/»: true, «package-lock.json»: true, «yarn.lock»: true }, «window.zoomLevel»: 1, «editor.find.globalFindClipboard»: true, «editor.fontLigatures»: true, «jshint.enable»: false, «editor.formatOnType»: true, «team.showWelcomeMessage»: false, «git.autofetch»: true, «workbench.startupEditor»: «newUntitledFile», «editor.codeActionsOnSave»: { // For ESLint «source.fixAll.eslint»: true, // For TSLint «source.fixAll.tslint»: true, // For Stylelint «source.fixAll.stylelint»: true }, «launch»: {}, «workbench.colorCustomizations»: {}, «sync.forceUpload»: true, «sync.forceDownload»: true, «sync.autoDownload»: true, «vetur.format.defaultFormatter.html»: «js-beautify-html», «intelephense.diagnostics.undefinedTypes»: false, «workbench.editorAssociations»: [], «diffEditor.codeLens»: true, «editor.formatOnSave»: true, «team.showFarewellMessage»: false, «eslint.validate»: [], «vetur.validation.template»: false, «prettier.enable»: true, «editor.formatOnPaste»: true, «editor.tabSize»: 2, «files.insertFinalNewline»: true, «[json]»: { «editor.defaultFormatter»: «esbenp.prettier-vscode», «editor.tabSize»: 2 }, «[jsonc]»: { «editor.defaultFormatter»: «esbenp.prettier-vscode», «editor.tabSize»: 2 }, «editor.tokenColorCustomizations»: null }

проверьте настройки vscode — ›обычно userd-› Редактор: Размер вкладки   —  person Mithun Shreevatsa    schedule 29.01.2021

Он настроен как 2 места на вкладку   —  person Mithun Shreevatsa    schedule 29.01.2021

Источник: ledsshop.ru

Стиль жизни - Здоровье!