Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude Files option won't work in code editors #183

Open
Baregamyan opened this issue Jun 10, 2021 · 0 comments
Open

Exclude Files option won't work in code editors #183

Baregamyan opened this issue Jun 10, 2021 · 0 comments

Comments

@Baregamyan
Copy link

Baregamyan commented Jun 10, 2021

Hi! I have a strange problem with ignoring some files from linting: I have UI error messages from files that must be ignore according my .pug-lintrc config but meantime cli successfully ignore excluded files and doesn't show any errors.

For example my .pug-lintrc file looks like:
{ _My rules here_ "excludeFiles": ["src/pages/**"] }

Code editors UI (VScode and Atom) show me errors in src/pages/** files.
image

But cli command npx pug-lint src/pages doesn't inform me about any errors in src/pages/** files.
I can't understand why is it happening. I will be happy for any help with it issue.

OS: Ubuntu 21.04 hirsute
DE: KDE 5.80.0 / Plasma 5.21.4
Atom : 1.57.0
Vscode 1.57.0
pug-lint: 2.6.0
vscode-pug-lint: 2.3.0
Atom linter-pug: 2.0.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant