Skip to content

Commit 4cb64d9

Browse files
Fix ESLint ignore patterns for proper file filtering
- Change lib/** to lib/jquery*.js to allow linting of lib/sw.js - Keep planet/libs/** and **/*.min.js patterns to ignore third-party files - Ensures only project files are linted, not external libraries - Fixes CI pipeline for jQuery upgrade PR
1 parent e7541b2 commit 4cb64d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"extends": ["eslint:recommended", "prettier"],
17-
"ignorePatterns": ["lib/**", "planet/libs/**", "**/*.min.js"],
17+
"ignorePatterns": ["lib/jquery*.js", "lib/jquery*.min.js", "planet/libs/**", "**/*.min.js"],
1818
"rules": {
1919
"no-console": "off",
2020
"no-mixed-spaces-and-tabs": "warn",

0 commit comments

Comments
 (0)