Commit c7e0452
committed
Fix PSScriptAnalyzer: Use settings file instead of attributes
- Removed SuppressMessageAttribute from script (caused parse error)
- Created .psscriptanalyzer.psd1 settings file to exclude rules
- This is the proper way to configure PSScriptAnalyzer for scripts
- Fixes 'Unexpected attribute' parse error in GitHub Actions1 parent 018d8b0 commit c7e0452
2 files changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 1 | | |
9 | 2 | | |
10 | 3 | | |
| |||
268 | 261 | | |
269 | 262 | | |
270 | 263 | | |
271 | | - | |
272 | 264 | | |
273 | 265 | | |
274 | 266 | | |
| |||
0 commit comments