Skip to content
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

Update Configuration.md to link to EditorConfig section #1459

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Modify doc that is deployed to website so change goes out immediately
belav authored Jan 24, 2025
commit 9d96fed700fe6363762a5e674bed7c3dac988b9b
2 changes: 1 addition & 1 deletion Src/Website/docs/Configuration.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ hide_table_of_contents: true
CSharpier has support for a configuration file. You can use any of the following files
- A ```.csharpierrc``` file in JSON or YAML.
- A ```.csharpierrc.json``` or ```.csharpierrc.yaml``` file.
- A ```.editorconfig``` file. See EditorConfig section below.
- A ```.editorconfig``` file. See [EditorConfig](#editorconfig) section below.

The configuration file will be resolved based on the location of the file being formatted.
- If a `.csharpierrc` file exists somewhere at or above the given file, that will be used.

Unchanged files with check annotations Beta

namespace Net8;
public class Class1
{

Check failure on line 4 in Tests/MsBuild/TestCases/FileThatCantCompileCausesOneError/FileWithCompileError.cs

GitHub Actions / Test CSharpier.MSBuild (ubuntu-latest)

} expected

Check failure on line 4 in Tests/MsBuild/TestCases/FileThatCantCompileCausesOneError/FileWithCompileError.cs

GitHub Actions / Test CSharpier.MSBuild (ubuntu-latest)

} expected

Check failure on line 4 in Tests/MsBuild/TestCases/FileThatCantCompileCausesOneError/FileWithCompileError.cs

GitHub Actions / Test CSharpier.MSBuild (windows-latest)

} expected

Check failure on line 4 in Tests/MsBuild/TestCases/FileThatCantCompileCausesOneError/FileWithCompileError.cs

GitHub Actions / Test CSharpier.MSBuild (windows-latest)

} expected