Scripts: Ignore linting files located in build folders by default #15977
It should give very good defaults with the related proposal #15890 which provides defaults for file pattern matching.
This PR ensures that by default all files located in
How has this been tested?
This is quite difficult to test without publishing to npm. I personally tested it with Gutenberg repository by playing with configuration files. This is how you can run commands:
I had to add some linting errors in random files to ensure it all works.
Then I reverted changes in those config files and copied them to the root folder. I tried again to modify those config files in the root folder running all commands again.
I also ensured that when I add violations to files inside