Is there a way to disable specific rules for a folder? For example, I don't want to have required JSDoc comments for all my test files in the
test folder. Is there a way to do this?
To ignore some folder from eslint rules we could create the file
.eslintignore in root directory and add there the path to the folder we want omit (the same way as for
Here is the example from the ESLint docs on Ignoring Files and Directories:
# /node_modules/* and /bower_components/* in the project root are ignored by default
# Ignore built files except build/index.js