Skip to content

Existing linter errors with RunApiDiff.ps1 #9990

@ericstj

Description

@ericstj

The following errors exist with the RunApiDiff.ps1 script and should be addressed.

  RuleName                            Severity     ScriptName Line  Message
  --------                            --------     ---------- ----  -------
  PSAvoidTrailingWhitespace           Information  RunApiDiff 623   Line has trai
                                                   .ps1             ling whitespa
                                                                    ce
  PSAvoidTrailingWhitespace           Information  RunApiDiff 666   Line has trai
                                                   .ps1             ling whitespa
                                                                    ce
  PSAvoidUsingInvokeExpression        Warning      RunApiDiff 186   Invoke-Expres
                                                   .ps1             sion is used.
                                                                     Please remov
                                                                    e Invoke-Expr
                                                                    ession from s
                                                                    cript and fin
                                                                    d other optio
                                                                    ns instead.
  PSReviewUnusedParameter             Warning      RunApiDiff 78    The parameter
                                                   .ps1              'UseDefaultN
                                                                    uGetFeed' has
                                                                     been declare
                                                                    d but not use
                                                                    d.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 334   Cmdlet 'GetPr
                                                   .ps1             eviewOrRCFold
                                                                    erName' has p
                                                                    ositional par
                                                                    ameter. Pleas
                                                                    e use named p
                                                                    arameters ins
                                                                    tead of posit
                                                                    ional paramet
                                                                    ers when call
                                                                    ing a command
                                                                    .
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 610   Cmdlet 'Downl
                                                   .ps1             oadPackage' h
                                                                    as positional
                                                                     parameter. P
                                                                    lease use nam
                                                                    ed parameters
                                                                     instead of p
                                                                    ositional par
                                                                    ameters when
                                                                    calling a com
                                                                    mand.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 614   Cmdlet 'Downl
                                                   .ps1             oadPackage' h
                                                                    as positional
                                                                     parameter. P
                                                                    lease use nam
                                                                    ed parameters
                                                                     instead of p
                                                                    ositional par
                                                                    ameters when
                                                                    calling a com
                                                                    mand.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 621   Cmdlet 'Downl
                                                   .ps1             oadPackage' h
                                                                    as positional
                                                                     parameter. P
                                                                    lease use nam
                                                                    ed parameters
                                                                     instead of p
                                                                    ositional par
                                                                    ameters when
                                                                    calling a com
                                                                    mand.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 624   Cmdlet 'Downl
                                                   .ps1             oadPackage' h
                                                                    as positional
                                                                     parameter. P
                                                                    lease use nam
                                                                    ed parameters
                                                                     instead of p
                                                                    ositional par
                                                                    ameters when
                                                                    calling a com
                                                                    mand.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 631   Cmdlet 'RunAp
                                                   .ps1             iDiff' has po
                                                                    sitional para
                                                                    meter. Please
                                                                     use named pa
                                                                    rameters inst
                                                                    ead of positi
                                                                    onal paramete
                                                                    rs when calli
                                                                    ng a command.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 674   Cmdlet 'GetPr
                                                   .ps1             eviewFolderPa
                                                                    th' has posit
                                                                    ional paramet
                                                                    er. Please us
                                                                    e named param
                                                                    eters instead
                                                                     of positiona
                                                                    l parameters
                                                                    when calling
                                                                    a command.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 684   Cmdlet 'GetDo
                                                   .ps1             tNetFullName'
                                                                     has position
                                                                    al parameter.
                                                                     Please use n
                                                                    amed paramete
                                                                    rs instead of
                                                                     positional p
                                                                    arameters whe
                                                                    n calling a c
                                                                    ommand.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 687   Cmdlet 'GetDo
                                                   .ps1             tNetFriendlyN
                                                                    ame' has posi
                                                                    tional parame
                                                                    ter. Please u
                                                                    se named para
                                                                    meters instea
                                                                    d of position
                                                                    al parameters
                                                                     when calling
                                                                     a command.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 688   Cmdlet 'GetDo
                                                   .ps1             tNetFriendlyN
                                                                    ame' has posi
                                                                    tional parame
                                                                    ter. Please u
                                                                    se named para
                                                                    meters instea
                                                                    d of position
                                                                    al parameters
                                                                     when calling
                                                                     a command.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 692   Cmdlet 'Proce
                                                   .ps1             ssSdk' has po
                                                                    sitional para
                                                                    meter. Please
                                                                     use named pa
                                                                    rameters inst
                                                                    ead of positi
                                                                    onal paramete
                                                                    rs when calli
                                                                    ng a command.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 697   Cmdlet 'Proce
                                                   .ps1             ssSdk' has po
                                                                    sitional para
                                                                    meter. Please
                                                                     use named pa
                                                                    rameters inst
                                                                    ead of positi
                                                                    onal paramete
                                                                    rs when calli
                                                                    ng a command.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 702   Cmdlet 'Proce
                                                   .ps1             ssSdk' has po
                                                                    sitional para
                                                                    meter. Please
                                                                     use named pa
                                                                    rameters inst
                                                                    ead of positi
                                                                    onal paramete
                                                                    rs when calli
                                                                    ng a command.
  PSAvoidUsingPositionalParameters    Information  RunApiDiff 705   Cmdlet 'Creat
                                                   .ps1             eReadme' has
                                                                    positional pa
                                                                    rameter. Plea
                                                                    se use named
                                                                    parameters in
                                                                    stead of posi
                                                                    tional parame
                                                                    ters when cal
                                                                    ling a comman
                                                                    d.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions