- Notifications
You must be signed in to change notification settings - Fork 0
Resync Line Endings to the Fleet LF Default#327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,27 @@ | ||
| { | ||
| "version": 1, | ||
| "isRoot": true, | ||
| "tools": { | ||
| "csharpier": { | ||
| "version": "1.3.0", | ||
| "commands": [ | ||
| "csharpier" | ||
| ], | ||
| "rollForward": false | ||
| }, | ||
| "husky": { | ||
| "version": "0.9.1", | ||
| "commands": [ | ||
| "husky" | ||
| ], | ||
| "rollForward": false | ||
| }, | ||
| "dotnet-outdated-tool": { | ||
| "version": "4.8.1", | ||
| "commands": [ | ||
| "dotnet-outdated" | ||
| ], | ||
| "rollForward": false | ||
| } | ||
| } | ||
| { | ||
| "version": 1, | ||
| "isRoot": true, | ||
| "tools": { | ||
| "csharpier": { | ||
| "version": "1.3.0", | ||
| "commands": [ | ||
| "csharpier" | ||
| ], | ||
| "rollForward": false | ||
| }, | ||
| "husky": { | ||
| "version": "0.9.1", | ||
| "commands": [ | ||
| "husky" | ||
| ], | ||
| "rollForward": false | ||
| }, | ||
| "dotnet-outdated-tool": { | ||
| "version": "4.8.1", | ||
| "commands": [ | ||
| "dotnet-outdated" | ||
| ], | ||
| "rollForward": false | ||
| } | ||
| } | ||
| } |
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,17 @@ | ||
| { | ||
| "Disable": { | ||
| "Charset": true, | ||
| "Indentation": true, | ||
| "IndentSize": true, | ||
| "TrimTrailingWhitespace": true, | ||
| "InsertFinalNewline": true, | ||
| "MaxLineLength": true | ||
| } | ||
| } | ||
| { | ||
| "Exclude": [ | ||
| "(^|/)__pycache__/", | ||
| "(^|/)\\.mypy_cache/", | ||
| "(^|/)\\.pytest_cache/", | ||
| "(^|/)\\.ruff_cache/", | ||
| "(^|/)\\.venv/" | ||
| ], | ||
| "Disable": { | ||
| "Charset": true, | ||
| "Indentation": true, | ||
| "IndentSize": true, | ||
| "TrimTrailingWhitespace": true, | ||
| "InsertFinalNewline": true, | ||
| "MaxLineLength": true | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,11 @@ | ||
| # Default: do not normalize line endings (`* -text`); .editorconfig end_of_line rules guide what the editor writes. | ||
| # The exception pins below are git's own enforcement - they force LF for execution-sensitive classes regardless of editor. | ||
| # git config --global core.autocrlf false | ||
| # git add --renormalize . | ||
| # git ls-files --eol | ||
| * -text | ||
| # Exception: scripts must stay LF regardless of the `* -text` default - a CRLF shebang breaks execution. `.editorconfig` | ||
| # covers `*.sh`, but extensionless executables (s6 service scripts, hooks) match no extension rule, so pin them here so | ||
| # git enforces LF on checkout and `--renormalize`. A repo shipping extensionless scripts adds an explicit path rule, | ||
| # e.g. for s6-overlay init: `Docker/s6-overlay/** text eol=lf`. | ||
| *.sh text eol=lf | ||
| # Dockerfiles must be LF - a CRLF breaks RUN heredocs and line continuations. | ||
| Dockerfile text eol=lf | ||
| *.Dockerfile text eol=lf | ||
| # Extensionless executables must stay LF - a CRLF shebang breaks execution. The Husky.Net git hook matches no extension rule. | ||
| .husky/pre-commit text eol=lf | ||
| # LanguageData/ holds downloaded source data the parser reads byte-for-byte; never normalize it. The `* -text` default | ||
| # above preserves it exactly as downloaded - do NOT add a `text`/`eol=` rule here. | ||
| # Normalize every detected text file to LF in the index and on checkout. | ||
| # `text=auto` leaves binary files byte-preserved. | ||
| * text=auto eol=lf | ||
| # Windows batch and command scripts require CRLF. | ||
| *.bat text eol=crlf | ||
| *.cmd text eol=crlf | ||
| # LanguageData/ holds downloaded source data the parser reads byte-for-byte; never normalize it, | ||
| # overriding the `* text=auto eol=lf` default above. | ||
| LanguageData/** -text | ||
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,57 +1,57 @@ | ||
| # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
| # | ||
| # Every ecosystem is listed twice, target-branch main and develop, so Dependabot opens parallel PRs that keep | ||
| # both branches current independently. main is listed because consumers (NuGet.org, GitHub releases) pull from | ||
| # it directly, and the develop -> main release gap can be long, so main must not wait for a promotion to get its | ||
| # dependency bumps. The codegen workflow takes the same dual-target shape for the same reason. | ||
| # | ||
| # The merge-bot (.github/workflows/merge-bot-pull-request.yml) picks the merge method per base (squash on | ||
| # develop, merge on main) and auto-merges both. develop is forward-only: no main -> develop back-merges, each | ||
| # branch absorbs its own bot PRs. Dependabot opens CVE security PRs against the default branch (main) whatever | ||
| # the target-branch, and the merge-bot handles them in the same path. | ||
| version: 2 | ||
| updates: | ||
| # ----- nuget ----- | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
| # ----- github-actions ----- | ||
| - package-ecosystem: "github-actions" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "github-actions" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
| # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
| # | ||
| # Every ecosystem is listed twice, target-branch main and develop, so Dependabot opens parallel PRs that keep | ||
| # both branches current independently. main is listed because consumers (NuGet.org, GitHub releases) pull from | ||
| # it directly, and the develop -> main release gap can be long, so main must not wait for a promotion to get its | ||
| # dependency bumps. The codegen workflow takes the same dual-target shape for the same reason. | ||
| # | ||
| # The merge-bot (.github/workflows/merge-bot-pull-request.yml) picks the merge method per base (squash on | ||
| # develop, merge on main) and auto-merges both. develop is forward-only: no main -> develop back-merges, each | ||
| # branch absorbs its own bot PRs. Dependabot opens CVE security PRs against the default branch (main) whatever | ||
| # the target-branch, and the merge-bot handles them in the same path. | ||
| version: 2 | ||
| updates: | ||
| # ----- nuget ----- | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
| # ----- github-actions ----- | ||
| - package-ecosystem: "github-actions" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "github-actions" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| [Dd]ebug/ | ||
| [Rr]elease/ | ||
| [Bb]in/ | ||
| [Oo]bj/ | ||
| .idea | ||
| .vs | ||
| .artifacts | ||
| .DS_Store | ||
| *.user | ||
| [Dd]ebug/ | ||
| [Rr]elease/ | ||
| [Bb]in/ | ||
| [Oo]bj/ | ||
| .idea | ||
| .vs | ||
| .artifacts | ||
| .DS_Store | ||
| *.user |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,32 +1,32 @@ | ||
| { | ||
| "$schema": "https://alirezanet.github.io/Husky.Net/schema.json", | ||
| "tasks": [ | ||
| { | ||
| "name": "CSharpier Format", | ||
| "command": "dotnet", | ||
| "args": [ | ||
| "csharpier", | ||
| "format", | ||
| "--log-level=debug", | ||
| "${staged}" | ||
| ], | ||
| "include": [ | ||
| "**/*.cs" | ||
| ] | ||
| }, | ||
| { | ||
| "name": ".NET Format", | ||
| "command": "dotnet", | ||
| "args": [ | ||
| "format", | ||
| "style", | ||
| "--verify-no-changes", | ||
| "--severity=info", | ||
| "--verbosity=detailed" | ||
| ], | ||
| "include": [ | ||
| "**/*.cs" | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| { | ||
| "$schema": "https://alirezanet.github.io/Husky.Net/schema.json", | ||
| "tasks": [ | ||
| { | ||
| "name": "CSharpier Format", | ||
| "command": "dotnet", | ||
| "args": [ | ||
| "csharpier", | ||
| "format", | ||
| "--log-level=debug", | ||
| "${staged}" | ||
| ], | ||
| "include": [ | ||
| "**/*.cs" | ||
| ] | ||
| }, | ||
| { | ||
| "name": ".NET Format", | ||
| "command": "dotnet", | ||
| "args": [ | ||
| "format", | ||
| "style", | ||
| "--verify-no-changes", | ||
| "--severity=info", | ||
| "--verbosity=detailed" | ||
| ], | ||
| "include": [ | ||
| "**/*.cs" | ||
| ] | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,18 @@ | ||
| { | ||
| "config": { | ||
| // Prose paragraphs and data-heavy tables or URLs are intentionally long. | ||
| // Reflowing at 80 columns hurts readability and churns diffs. | ||
| "MD013": false, | ||
| // MD033 (inline HTML) stays enabled so native markdown wins. | ||
| // HTML comments, used as reference-link dividers, pass it. | ||
| // The details and summary elements are allowed for GitHub collapsibles, which have no markdown equivalent. | ||
| // Every other element still flags. | ||
| "MD033": { "allowed_elements": ["details", "summary"] }, | ||
| // Require fenced code blocks over the legacy 4-space-indented style. | ||
| "MD046": { "style": "fenced" }, | ||
| // MD060 (table column style) is not enforced - allow both compact | ||
| // (`|a|b|`) and padded (`| a | b |`) table pipe spacing. | ||
| "MD060": false | ||
| }, | ||
| "gitignore": true | ||
| } | ||
| { | ||
| "config": { | ||
| // Prose paragraphs and data-heavy tables or URLs are intentionally long. | ||
| // Reflowing at 80 columns hurts readability and churns diffs. | ||
| "MD013": false, | ||
| // MD033 (inline HTML) stays enabled so native markdown wins. | ||
| // HTML comments, used as reference-link dividers, pass it. | ||
| // The details and summary elements are allowed for GitHub collapsibles, which have no markdown equivalent. | ||
| // Every other element still flags. | ||
| "MD033": { "allowed_elements": ["details", "summary"] }, | ||
| // Require fenced code blocks over the legacy 4-space-indented style. | ||
| "MD046": { "style": "fenced" }, | ||
| // MD060 (table column style) is not enforced - allow both compact | ||
| // (`|a|b|`) and padded (`| a | b |`) table pipe spacing. | ||
| "MD060": false | ||
| }, | ||
| "gitignore": true | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,19 @@ | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "LanguageTagsCreate", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".NET Build", | ||
| "program": "${workspaceFolder}/.artifacts/bin/LanguageTagsCreate/debug/LanguageTagsCreate.dll", | ||
| "args": [ | ||
| "--codepath", | ||
| "${workspaceFolder}", | ||
| ], | ||
| "cwd": "${workspaceFolder}/.artifacts/bin/LanguageTagsCreate/debug", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| } | ||
| ] | ||
| } | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "LanguageTagsCreate", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".NET Build", | ||
| "program": "${workspaceFolder}/.artifacts/bin/LanguageTagsCreate/debug/LanguageTagsCreate.dll", | ||
| "args": [ | ||
| "--codepath", | ||
| "${workspaceFolder}", | ||
| ], | ||
| "cwd": "${workspaceFolder}/.artifacts/bin/LanguageTagsCreate/debug", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| } | ||
| ] | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.