Skip to content

Commit

Permalink
feat: editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Dec 31, 2024
1 parent 410df51 commit 5a2fcee
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Shopware platform editor configuration normalization
# http://editorconfig.org/

# This is the top-most .editorconfig file; do not search in parent directories.
root = true

# All files.
[*]
end_of_line = lf
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion .github/workflows/markdown-style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Lint all files
uses: docker://avtodev/markdown-lint:v1.5
with:
config: 'markdown-style-config.yml'
config: '.markdownlint.yml'
args: './'
ignore: './resources/references/adr/* ./assets/adr/* ./resources/guidelines/code/core/* ./snippets/guide/*'
continue-on-error: false
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.idea
.vscode
/dictionary.dic
/dictionary.dic

# VSCode-Project
/.vscode/
!/.vscode/settings.json
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false
}

0 comments on commit 5a2fcee

Please sign in to comment.