Skip to content

Support projects without a 'package.json' #59

@bryant-finney

Description

@bryant-finney

Problem Statement

prettier supports many languages other than JavaScript (YAML, Markdown, JSON, HTML, etc.). Integrations with tools such as pre-commit or vscode make it convenient to use prettier in repositories that don't depend on node.js or define a package.json.

However, this action fails if package.json does not exist in the repository.

Example

See bryant-finney/demo-reviewdog-action-prettier#1:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions