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

File size limit #9

Open
lucantini opened this issue Oct 25, 2019 · 1 comment
Open

File size limit #9

lucantini opened this issue Oct 25, 2019 · 1 comment

Comments

@lucantini
Copy link

Do we have a default FileSize limit? And if that's the case, can it be overwritten? I'm having trouble finding the files in my React Project, for some reason the biggest files are ignored, by removing a part of the file, FileMatcher starts finding it again.

The limit seems to be around 250 lines. If the file has roughly 250 or more lines it's ignored. My configuration is as follows:

{
    path: 'src/',
    recursiveSearch: true,
    fileFilter: {
        fileNamePattern: ['**/*.tsx'],
        content: /Component/,
    },
}

The biggest Components are simply ignored.

@lucantini
Copy link
Author

Upon further inspection it doesn't seem related with the number of lines, but with the size of the file itself. For some reason, files that pass an specific threshold are ignored with no warning.

To reproduce just create a file and keep adding console.log statements to it until it stops being found, although your parameters did not change at all.

The version that I'm using is 1.3.0

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