Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Add option to ignore file or project #296

@brandonkal

Description

@brandonkal

I have a jinja template file, specifically wp-config.j2 that is highlighted as PHP, as it is mostly PHP with some jinja inserted like so:

define('DB_NAME', '{{ DB_NAME }}');

/* Authentication Unique Keys and Salts. */
{{ salts }}

I would like to ignore this file from linting, but that does not seem to be an option with linter-php.

Setting "Ignore files matching this Glob" for linter works but it would be nice to set this in the linter-php package.

**/*.{j2,min.{js,css}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions