Skip to content

Commit ba46902

Browse files
committed
Atualiza configurações e extensões recomendadas para o VSCode
1 parent 34c39b6 commit ba46902

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

.vscode/extensions.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
22
"recommendations": [
33
"charliermarsh.ruff",
4+
"dbaeumer.vscode-eslint",
5+
"editorconfig.editorconfig",
6+
"esbenp.prettier-vscode",
7+
"ExecutableBookProject.myst-highlight",
8+
"github.vscode-github-actions",
49
"ms-python.python",
10+
"ms-vscode-remote.remote-containers",
511
"redhat.vscode-yaml",
6-
"editorconfig.editorconfig"
12+
"stylelint.vscode-stylelint",
13+
"plone.plone-vs-utilities"
714
]
8-
}
15+
}

.vscode/settings.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
11
{
22
"eslint.workingDirectories": ["./frontend"],
3-
"flake8.cwd": "${workspaceFolder}/backend",
4-
"flake8.args": ["--config=pyproject.toml"],
3+
"stylelint.enable": true,
4+
"css.validate": false,
5+
"less.validate": false,
6+
"scss.validate": false,
57
"ruff.organizeImports": true,
8+
"python.analysis.include": [
9+
"backend/src/**/*",
10+
"backend/scripts/**/*",
11+
"backend/tests/**/*"
12+
],
613
"python.terminal.activateEnvironment": true,
714
"python.testing.pytestArgs": [
815
"backend/tests"
916
],
1017
"python.testing.unittestEnabled": false,
1118
"python.testing.pytestEnabled": true,
19+
"[css][less][scss]": {
20+
"editor.tabSize": 2,
21+
"editor.formatOnSave": true,
22+
"editor.codeActionsOnSave": {
23+
"source.fixAll.stylelint": "explicit"
24+
},
25+
"editor.defaultFormatter": "esbenp.prettier-vscode"
26+
},
1227
"[markdown]": {
1328
"editor.formatOnSave": false
1429
}

news/+vscode.internal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Atualiza configurações e extensões recomendadas para o VSCode. @ericof

0 commit comments

Comments
 (0)