Skip to content

Linting doesn't work with npm i --only dev #33

@mattcollier

Description

@mattcollier

For some reason, an ajv eslint dependency does not get installed when trying to install only dev dependencies in order to lint a bedrock module. This problem is resolved if one just does a regular npm i. I don't know if there's anything DB can do about this.

EDIT:
The symptoms are... vscode silently fails to lint the code. If you do npx eslint . or similar, you will get the message about the missing dep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions