diff --git a/.editorconfig b/.editorconfig index 551b150..17ba0d7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,56 +1,17 @@ -# EditorConfig: https://EditorConfig.org - -# Top-level EditorConfig file +# Editor configuration, see https://editorconfig.org root = true -#### Core EditorConfig Options #### - -# Global settings for all files [*] charset = utf-8 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - indent_style = space indent_size = 2 tab_width = 2 +insert_final_newline = true +trim_trailing_whitespace = true -# Disable max line length enforcement -max_line_length = off - -#### File Type Overrides #### +[*.{json,jsonc,yaml,yml}] +indent_size = 2 -# Markdown files [*.md] - -# Allow trailing whitespace for line breaks +max_line_length = off trim_trailing_whitespace = false - -[*.sh] - -indent_style = space -indent_size = 2 -tab_width = 2 - -[*.{csproj,json,jsonc,xml,yaml,yml}] - -indent_style = space -indent_size = 2 -tab_width = 2 - -# Batch and command files -[*.{cmd,bat}] -# Use CRLF for Windows specific files -end_of_line = crlf - -# .NET source files -[*.{cs,vb}] - -indent_style = space -indent_size = 4 -tab_width = 4 - -# .NET generated files -[*.g.cs] -generated_code = true diff --git a/.gitattributes b/.gitattributes index 9482d5e..9a5d6f3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,2 @@ # Normalize line endings. * text=auto eol=lf - -# NuGet lock files should always use LF -**/packages.lock.json text eol=lf - -# Windows script files should use CRLF -*.cmd text eol=crlf -*.bat text eol=crlf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 605a285..9ead46e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,13 +4,12 @@ on: pull_request: push: branches: [main] - workflow_dispatch: permissions: contents: read concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: @@ -19,7 +18,7 @@ jobs: steps: - name: Checkout source code - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Lint markdown uses: DavidAnson/markdownlint-cli2-action@v23 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8243146 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# AI provider configs (local) +.claude/*.local.* + +# Temporary files +tmp/ +**/logs/ +.DS_Store diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..c44d7a7 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "DavidAnson.vscode-markdownlint", + "EditorConfig.EditorConfig" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1462c59 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "[markdown]": { + "editor.defaultFormatter": "DavidAnson.vscode-markdownlint", + "editor.formatOnSave": true + } +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..907b3c1 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,33 @@ +{ + "$schema": "vscode://schemas/tasks", + "version": "2.0.0", + "presentation": { + "clear": true, + "panel": "dedicated", + "showReuseMessage": false + }, + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [], + "tasks": [ + { + "label": "Lint: Markdown (verify)", + "detail": "Verify Markdown formatting for all files", + "group": { + "kind": "test", + "isDefault": true + }, + "type": "shell", + "command": "npx markdownlint-cli2", + "problemMatcher": "$markdownlint" + }, + { + "label": "Lint: Markdown (fix)", + "detail": "Auto-fix Markdown formatting for all files", + "type": "shell", + "command": "npx markdownlint-cli2 --fix", + "problemMatcher": "$markdownlint" + } + ] +} diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 22b5fc6..0000000 --- a/AGENTS.md +++ /dev/null @@ -1,11 +0,0 @@ -# .github - -GitHub public community profile for FacioQuo — default community health files, workflow templates, and organizational profile. - -## Pull request conventions - -PR titles follow Conventional Commits format: `type: Subject` (no scope) - -- `type` is lowercase: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`, `plan` -- `Subject` starts with an uppercase letter; keep total title length ≤ 65 characters -- Ignore for PRs labeled `bot`, `dependencies`, or `automated`