Skip to content

Configure PSSA from Start-EditorServices #2001

Closed
@csc027

Description

@csc027

Summary

How do I configure the underlying PSScriptAnalyzer (PSSA) instance to use custom rules from the starting point Start-EditorServices for use in non-Visual Studio Code editors?

Description

I have a working PSES setup working for my Neovim setup, providing completion and linting for the default ruleset. However, I currently do not know how to configure custom PSSA rules for the PSSA instance bundled with PSES.

I know for VS Code, you could change the settings in your workspace, as documented here.

To be clear, I was able to get those rules working via implicit settings documented here. However, I have many different PowerShell repositories in my use case. It would be onerous to save a settings file each and every repository.

So, is it possible to configure the underlying PSSA instance's settings to explicitly use custom rules from either Start-EditorServices or from making specific changes to the environment that PSSA runs from?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions