pugjs / pug-lint

An unopinionated and configurable linter and style checker for Pug
ISC License
228 stars 51 forks source link

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

Open Baregamyan opened 3 years ago

Baregamyan commented 3 years ago

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