Skip to content

Commit

Permalink
Enable prettier for json
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-cooney committed Dec 13, 2023
1 parent 04bc0f2 commit b9bdbf5
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "explicit"
},
"[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[python]": { "editor.defaultFormatter": "charliermarsh.ruff" },
"[toml]": { "editor.defaultFormatter": "tamasfe.even-better-toml" },
"editor.codeActionsOnSave": { "source.organizeImports": "explicit" },
"editor.formatOnSave": true,
"evenBetterToml.formatter.allowedBlankLines": 1,
"evenBetterToml.formatter.arrayAutoCollapse": true,
Expand All @@ -33,15 +25,14 @@
"evenBetterToml.syntax.semanticTokens": false,
"notebook.formatOnCellExecution": true,
"notebook.formatOnSave.enabled": true,
"prettier.printWidth": 100,
"pylint.ignorePatterns": ["*"],
"python.analysis.autoFormatStrings": true,
"python.analysis.inlayHints.functionReturnTypes": false,
"python.analysis.typeCheckingMode": "basic",
"python.languageServer": "Pylance",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.testing.pytestEnabled": true,
"rewrap.autoWrap.enabled": true,
"rewrap.wrappingColumn": 100,
"pylint.ignorePatterns": [
"*"
]
}
"rewrap.wrappingColumn": 100
}

0 comments on commit b9bdbf5

Please sign in to comment.