File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 21
21
cmds :
22
22
- dprint fmt
23
23
- nixpkgs-fmt ./*.nix
24
- - pwsh -Command "Invoke-ScriptAnalyzer -Recurse -ReportSummary -EnableExit -Settings CodeFormatting -Fix -Path src"
24
+ - pwsh -File ./tools/lint-fix.ps1
25
25
lint :
26
26
cmds :
27
27
- dprint check
Original file line number Diff line number Diff line change
1
+ # Do NOT use 'Invoke-ScriptAnalyzer -Recurse -Path .' It includes dotfiles as .direnv
2
+ # https://github.com/PowerShell/PSScriptAnalyzer/issues/561
3
+ Get-ChildItem - Recurse - Path . - Include " *.ps1" |
4
+ ForEach-Object {
5
+ echo $_.FullName
6
+ Invoke-ScriptAnalyzer - Recurse - ReportSummary - EnableExit - Settings CodeFormatting - Fix - Path $_.FullName
7
+ }
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments