Skip to content

Documentation is outdated on the AvoidUsingDoubleQuotesForConstantString rule's Severity and Configurability #128

Closed
@BenedekFarkas

Description

@BenedekFarkas

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
  • Verify Version: If there is a mismatch between documentation and the module on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Module

PSScriptAnalyzer

Links

Summary

The rule actually has Information severity and doesn't have further configuration options.

Details

https://github.com/PowerShell/PSScriptAnalyzer/blob/1.21.0/Rules/AvoidUsingDoubleQuotesForConstantString.cs#L142

Suggested Fix

Change Severity to Information and remove Yes from Configurable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue-doc-bugIssue - error in documentationneeds-triageWaiting - Needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions