mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
[JENKINS-70788] Limit frontend linters to Jenkins source directories (#27008)
Limit frontend linters to Jenkins source directories Co-authored-by: Alex Tumanov <6143578+oleksii-tumanov@users.noreply.github.com>
This commit is contained in:
1 parent
afadae6df5
commit
e96b210539
2 files changed
+30
No files matched your search
@@ -1,3 +1,18 @@
|
||||
# Only scan Jenkins source areas, not arbitrary top-level work directories
|
||||
/*/
|
||||
!/.github/
|
||||
!/.idea/
|
||||
!/.mvn/
|
||||
!/bom/
|
||||
!/cli/
|
||||
!/core/
|
||||
!/coverage/
|
||||
!/docs/
|
||||
!/src/
|
||||
!/test/
|
||||
!/war/
|
||||
!/websocket/
|
||||
|
||||
# generated / build files
|
||||
.pnp.cjs
|
||||
.pnp.loader.mjs
|
||||
|
||||
@@ -6,6 +6,21 @@ module.exports = [
|
||||
// Global ignores
|
||||
{
|
||||
ignores: [
|
||||
// Only scan Jenkins source areas, not arbitrary top-level work directories
|
||||
"*/**",
|
||||
"!.github/**",
|
||||
"!.idea/**",
|
||||
"!.mvn/**",
|
||||
"!bom/**",
|
||||
"!cli/**",
|
||||
"!core/**",
|
||||
"!coverage/**",
|
||||
"!docs/**",
|
||||
"!src/**",
|
||||
"!test/**",
|
||||
"!war/**",
|
||||
"!websocket/**",
|
||||
|
||||
"**/target/",
|
||||
"**/work/",
|
||||
|
||||
|
||||
Reference in new issue
Block a user