add dotnet-format as pre-commit hook
parent
e6c56e5bce
commit
3c6822aa64
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Use with:
|
||||
#
|
||||
# $> git config core.hooksPath .githooks
|
||||
#
|
||||
dotnet format --exclude vendor/
|
|
@ -15,7 +15,7 @@ namespace Pal.Client.Net
|
|||
}
|
||||
|
||||
public IDisposable BeginScope<TState>(TState state)
|
||||
where TState: notnull
|
||||
where TState : notnull
|
||||
=> NullScope.Instance;
|
||||
|
||||
public bool IsEnabled(LogLevel logLevel) => logLevel != LogLevel.None;
|
||||
|
|
Loading…
Reference in New Issue