You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Write test to exclude UTF-8 BOM from files in tree #11554
StyleChecker is yet another code style checker and refactoring tool like FxCopAnalyzers, StyleCop Analyzers, SonarLint, Roslynator, and so on. - maroontress/StyleChecker
Ilya (@iSazonov) If we use a code analyzer rule running on PowerShell-CI-static-analysis, we could use the same rule in a local build and for live analysis in the development environment.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
Activity
xtqqczze commentedon Jan 10, 2020
We could use the following code to test for BOM:
[-]Write test for UTF-8 BOM[/-][+]Write test to exclude UTF-8 BOM from files in tree[/+]iSazonov commentedon Jan 11, 2020
Travis Plunk (@TravisEz13) Should it be in static tests?
TravisEz13 commentedon Jan 11, 2020
Ilya (@iSazonov) yes, this should be a static test.
xtqqczze commentedon Jan 20, 2020
We should consider setting a code analyzer rule to check for BOM:
https://github.com/maroontress/StyleChecker/blob/master/doc/rules/ByteOrderMark.md
iSazonov commentedon Jan 21, 2020
We could use code analyzer(s) on server side although a script would be more simple.
xtqqczze commentedon Jan 21, 2020
Ilya (@iSazonov) If we use a code analyzer rule running on
PowerShell-CI-static-analysis, we could use the same rule in a local build and for live analysis in the development environment.xtqqczze commentedon Jan 22, 2020
See #11654
xtqqczze commentedon Jan 22, 2020
When DotNetAnalyzers/StyleCopAnalyzers#2100 is implemented we could add the rule for analysis.
iSazonov commentedon Jan 22, 2020
I believe PowerShell script in our static analysis will be simple, fast and reliable.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.