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

Add option to ignore file or project #296

Open
brandonkal opened this issue Aug 2, 2018 · 0 comments
Open

Add option to ignore file or project #296

brandonkal opened this issue Aug 2, 2018 · 0 comments

Comments

@brandonkal
Copy link

brandonkal commented Aug 2, 2018

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}}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant