Skip to content

Commit

Permalink
add explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Jun 20, 2024
1 parent c06ff5c commit 69a6fdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/eslint/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ async function calculateConfigArray(eslint, {
relativeIgnorePatterns = ignorePatterns;
} else {

// In minimatch patterns, only `/` can be used as path separator
const relativeIgnorePath = path.relative(basePath, cwd).replaceAll(path.sep, "/");

relativeIgnorePatterns = ignorePatterns.map(pattern => {
Expand Down

0 comments on commit 69a6fdb

Please sign in to comment.