Skip to content

Pre-commit documentation outdated #81

@Stannislav

Description

@Stannislav

The example configuration for pre-commit shown in documentation is outdated: it refers to an old revision, 16d3a7f, which is 2+ years old.

When I tried the example configuration locally vale produced errors:

E100 [vocab] Runtime error

'my-vocab' does not exist

Execution stopped with code 1.

I have the following line in my .vale.ini:

Vocab = my-vocab

and the directory .github/styles/config/vocabularies/my-vocab does exist.

When I updated the revision to a newer commit, e.g. v3.9.5, then the errors went away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions