mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Limit frontend linters to Jenkins source directories Co-authored-by: Alex Tumanov <6143578+oleksii-tumanov@users.noreply.github.com>
41 lines
669 B
Plaintext
41 lines
669 B
Plaintext
# 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
|
|
target/
|
|
work/
|
|
node/
|
|
|
|
.git
|
|
|
|
# libraries / external deps / generated files
|
|
src/main/js/plugin-setup-wizard/bootstrap-detached.js
|
|
war/src/main/webapp/jsbundles/
|
|
src/main/scss/_bootstrap.scss
|
|
|
|
# test files that we don't need formatted
|
|
test/src/test/resources
|
|
test/jmh-report.json
|
|
|
|
# doesn't work, see https://github.com/prettier/prettier/issues/5340
|
|
*.hbs
|
|
|
|
.yarn
|
|
|
|
# Incorrectly flagging forwarding slashes in regex
|
|
.github/renovate.json
|