-
Notifications
You must be signed in to change notification settings - Fork 1
Disable
Actionbot edited this page Feb 22, 2026
·
1 revision
The dotnet biak disable command takes the contents of editorconfig-main, disables all rules (error|warning|suggestion -> none) and inserts them into .editorconfig
When executed inside a properly initialized project directory, the command:
- Verifies that the project has been initialized with
dotnet biak setup. - Ensures that both:
.biak/.editorconfig-main-
.editorconfigexist.
- Takes the content from
.biak/.editorconfig-main. - Disables all rule severities (error | warning | suggestion -> none), for example:
[*.cs] # Before dotnet_diagnostic.CA2000.severity = error dotnet_diagnostic.CA1001.severity = warning dotnet_diagnostic.CA1707.severity = suggestion # After dotnet_diagnostic.CA2000.severity = none dotnet_diagnostic.CA1001.severity = none dotnet_diagnostic.CA1707.severity = none
- Inserts the modified content into
.editorconfig.
If the project is not initialized or required files are missing, the command safely exits and prints guidance messages.
dotnet biak disable-
Must be run from a directory that has already been initialized using:
dotnet biak setup
-
The following files must exist:
.biak/.editorconfig-main.editorconfig
-
No additional arguments are supported.
- This command overwrites the root
.editorconfigfile. - Any manual changes previously made directly in
.editorconfigwill be replaced. - If
.biakis not initialized, the command will display an error and exit safely.
Hey! If you don't have write access to the wiki, you can change that in the docs/wiki folder.