Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
"davidanson.vscode-markdownlint",
"foxundermoon.shell-format",
"gruntfuggly.todo-tree"
]
],
"settings": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
},
"mounts": [
Expand Down
8 changes: 3 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Editor configuration
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
7 changes: 6 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Copilot Instructions

## General Guidelines

- Use 2 spaces for indentation.
- Write clear and concise comments to explain complex logic.

## Pull Request Template

- Use the provided pull request template to ensure all necessary information is included.
- Use the provided pull request template located at .github/PULL_REQUEST_TEMPLATE.md to ensure all necessary information is included.
- Fill in the sections with relevant details about the changes made, including a description of the issue being addressed and any additional context.
- Use the checklist to confirm that you have followed the contributing guidelines and completed all necessary steps.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pre-commit
name: z-pre-commit

on:
pull_request:
Expand All @@ -11,5 +11,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.5.0
- uses: actions/setup-python@v5.6.0
- uses: pre-commit/action@v3.0.1
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"endOfLine": "lf",
"tabWidth": 2,
"arrowParens": "always",
"printWidth": 80,
"bracketSpacing": true,
"quoteProps": "as-needed",
"proseWrap": "preserve"
}
2 changes: 2 additions & 0 deletions .struct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ folders:
- github/prompts/struct
- github/workflows/pre-commit
- github/workflows/release-drafter
- configs/prettier
- configs/editor-config
5 changes: 5 additions & 0 deletions struct_module/contribs/github/instructions/generic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
files:
- .github/instructions/generic.instruction.md:
skip_if_exists: true
content: |
Your instructions here
Loading