ESLint does not handle folders started from dot (e.g. /.tests).
See original GitHub issueI store my tests in .tests
folders. When I want to lint my project eslint ignore them, but it sees them If I specify it directly.
System: macOS.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Why eslint can't detect all files in the directory, but ...
So where is the problems? Eslint can detect single file well, but it can't detect all the files in some directory.
Read more >Dealing with files - Learn web development | MDN
Browsers, web servers, and programming languages do not handle spaces ... Create a folder called images , inside your test-site folder.
Read more >VuePress で eslint を使いたい。
eslint project/docs/.vuepress/components/Sample.vue ... ESLint does not handle folders started from dot (e.g. /.tests). #8429.
Read more >Excluding Files and Folders
You can specify files or directories that you'd like to exclude from your analysis using in-app configuration, or using the
Read more >Configuring Vitest
path/to/vitest.config.ts; Use process.env.VITEST or mode property on defineConfig (will be set to test / benchmark if not overridden) to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If anyone else gets here via Google trying to figure out why dot folders are ignored, you can fix it by adding a negating ignore in your
.eslintignore
:Now anything like
.storybook/config.js
will be included in the lint.airbnb
config.@ilyavolodin I just add
!/app/**
to .eslintignore and this helps. Thanks! I’ll close the issue. Best.