Skip to content

Commit

Permalink
Add .editorconfig (#476)
Browse files Browse the repository at this point in the history
* Add .editorconfig

* address comment

* Update .editorconfig

Co-authored-by: eitsupi <[email protected]>

---------

Co-authored-by: eitsupi <[email protected]>
  • Loading branch information
samruddhikhandale and eitsupi authored Mar 7, 2023
1 parent 35465f7 commit f7637fc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
{
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/azure-cli:1": {}
},
"postCreateCommand": "npm install -g @devcontainers/cli",
"customizations": {
"vscode": {
"extensions": [
"mads-hartmann.bash-ide-vscode",
"dbaeumer.vscode-eslint"

This comment has been minimized.

Copy link
@Kamainkokamain

Kamainkokamain Dec 24, 2024

bonjours

This comment has been minimized.

Copy link
@Kamainkokamain

Kamainkokamain Dec 24, 2024

développement mentale

"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig"
]
},
"codespaces": {
"repositories": {
"devcontainers/features": {
"permissions": "write-all"
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/azure-cli:1": {}
},
"postCreateCommand": "npm install -g @devcontainers/cli"
}
}
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*.json]
indent_style = tab

[Dockerfile]
indent_style = spaces
indent_size = 4

[*.{yml,yaml}]
indent_style = spaces
indent_size = 2
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
// We recommend this extension for contributors to assist with the correct styling and formatting of files in this repo.
"EditorConfig.EditorConfig",
],
}

1 comment on commit f7637fc

@zxnviq
Copy link

@zxnviq zxnviq commented on f7637fc May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.vscode/extensions.json

Please sign in to comment.