Skip to content
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
This repository was archived by the owner on Jun 22, 2026. It is now read-only.

Linter issues when used as a module in Function App repos #109

Description

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

  1. Make a repo holding a function app project (using the VSCode extension)
  2. Use local module and download this module to the 'Modules' folder.
  3. Run super-linter (using PSScriptAnalyzer) on the repo.

Expected behavior

Linter should not fail on a published module.

Actual behavior

Linter fails saying that there are trailing whitespaces

Error details

RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSAvoidTrailingWhitespace           Information  Microsoft. 10    Line has trai
                                                 PowerShell       ling whitespa
                                                 .SecretSto       ce
                                                 re.Extensi
                                                 on.psd1


RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSAvoidTrailingWhitespace           Information  Microsoft. 79    Line has trai
                                                 PowerShell       ling whitespa
                                                 .SecretSto       ce
                                                 re.Extensi
                                                 on.psm1
PSAvoidTrailingWhitespace           Information  Microsoft. 281   Line has trai
                                                 PowerShell       ling whitespa
                                                 .SecretSto       ce
                                                 re.Extensi
                                                 on.psm1

Environment data

Irrelevant

Version

Irrelevant

Visuals

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions