Skip to content

Commit

Permalink
Merge branch 'master' into shell-allow-inc-quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapmex authored Dec 9, 2024
2 parents 73acfec + 04a2154 commit 6cedfcf
Show file tree
Hide file tree
Showing 3 changed files with 597 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
- [hcl] add a new schema for HashiCorp HCL
- [terraform] add a new schema for HashiCorp Terraform
- [dockerfile] add a new schema for Dockerfile
- [jenkinsfile] add a new schema for Jenkins configuration (Jenkinsfile)

## [1.2.0] - 2021-09-12

Expand Down
12 changes: 11 additions & 1 deletion hrc/hrc/proto.hrc
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@
<filename>/\.groovy$/i</filename>
<filename>/\.gdsl$/i</filename>
<filename>/\.gradle$/i</filename>
<filename>/Jenkinsfile/i</filename>
<firstline>/^import/</firstline>
<firstline>/^#!groovy/</firstline>
<parameters>
Expand All @@ -232,6 +231,17 @@
<param name="spaces-as-errors" value="false" description="Shows trailing spaces as error" />
</parameters>
</prototype>
<prototype name="jenkinsfile" group="scripts" description="Jenkinsfile">
<location link="scripts/jenkinsfile.hrc"/>
<filename>/^Jenkins[Ff]ile\..+$/</filename>
<filename>/^.+\.Jenkins[Ff]ile/</filename>
<filename>/^Jenkins[Ff]ile$/</filename>
<filename>/\.gdsl$/i</filename>
<firstline weight='3'>/(^|\n)\s*pipeline\s+\{\s*$/</firstline>
<firstline weight='3'>/(^|\n)\s*node\s+\{\s*$/</firstline>
<firstline weight='3'>/(^|\n)\s*node\([^\)]\)\s+\{\s*$/</firstline>
<firstline weight='3'>/(^|\n)\s*import\s+org\.jenkinsci\./</firstline>
</prototype>

<prototype name="rust" group="main" description="Rust">
<location link="base/rust.hrc" />
Expand Down
Loading

0 comments on commit 6cedfcf

Please sign in to comment.