Custom analyzer rules

July 1, 2024 ยท View on GitHub

Our custom analyzer rules are automatically included when using Invoke-Analyzer.ps1 or GitHub Actions.

  • Measure-AutomaticVariableAlias: Detects the usages of the alias $_ of the automatic variable $PSItem and suggests to correct them.
  • Measure-LineContinuation: Detects the usages of the backtick (line continuation) character.
  • Measure-VariableNameFormat: Detects inconsistencies in the casing of parameter names and variable names (including automatic variables).