Skip to content

Feature request: Allow to set the path for the plugins #206

@juanfranblanco

Description

@juanfranblanco

Hi I hope you are all well,

Vscode is not able to load the plugins as these will not be packaged with the extension, to workaround this it will be ideal if a path could be passed to load the plugins together with the list of names.

const plugins = require(`solhint-plugin-${pluginName}`)

This is how it is handled in prettier.

Suggestion: The solhint.json file could include a path or allow to set this by the ide by setting the path to be the same as the current project node_modules.

Reference: juanfranblanco/vscode-solidity#169

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions