mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-27 16:40:59 -05:00
fix: downgrade npm-groovy-lint to 15.0.0 (#6373)
Fix #6371 npm-groovy-lint > 15.0.0 is impacted by: - https://github.com/nvuillam/npm-groovy-lint/issues/428 - https://github.com/nvuillam/npm-groovy-lint/issues/422
This commit is contained in:
parent
7b18a58c94
commit
ffccf2d49d
3 changed files with 19 additions and 6 deletions
11
dependencies/package-lock.json
generated
vendored
11
dependencies/package-lock.json
generated
vendored
|
@ -34,7 +34,7 @@
|
|||
"markdownlint-cli": "^0.42.0",
|
||||
"next": "^15.0.3",
|
||||
"next-pwa": "^5.6.0",
|
||||
"npm-groovy-lint": "^15.0.2",
|
||||
"npm-groovy-lint": "^15.0.0",
|
||||
"postcss-less": "^6.0.0",
|
||||
"prettier": "^3.3.3",
|
||||
"prettyjson": "^1.2.5",
|
||||
|
@ -17287,9 +17287,10 @@
|
|||
}
|
||||
},
|
||||
"node_modules/npm-groovy-lint": {
|
||||
"version": "15.0.2",
|
||||
"resolved": "https://registry.npmjs.org/npm-groovy-lint/-/npm-groovy-lint-15.0.2.tgz",
|
||||
"integrity": "sha512-1HvEdy0eKIHOx/TIBgehQGEA+UObCUFsmHJ45LRxCkiMUTMMYEDXlTPV6u78UMNCsFqcGzeMUPfi4tXAxss2Tg==",
|
||||
"version": "15.0.0",
|
||||
"resolved": "https://registry.npmjs.org/npm-groovy-lint/-/npm-groovy-lint-15.0.0.tgz",
|
||||
"integrity": "sha512-MSVHrSK2bVQnQUSIiyXp8Am33E6gt3QUBXm8Z+AA4dToLqpU0+46VCiIcOCTSiKmz9Rd7DoGgFrd5eBEO4qBsg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ansi-colors": "^4.1.1",
|
||||
"axios": "^1.6.2",
|
||||
|
@ -17302,7 +17303,7 @@
|
|||
"fs-extra": "^11.0.0",
|
||||
"glob": "^11.0.0",
|
||||
"import-fresh": "^3.2.1",
|
||||
"java-caller": "^4.1.1",
|
||||
"java-caller": "^4.0.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"node-sarif-builder": "^3.0.0",
|
||||
"optionator": "^0.9.0",
|
||||
|
|
2
dependencies/package.json
vendored
2
dependencies/package.json
vendored
|
@ -29,7 +29,7 @@
|
|||
"markdownlint-cli": "^0.42.0",
|
||||
"next": "^15.0.3",
|
||||
"next-pwa": "^5.6.0",
|
||||
"npm-groovy-lint": "^15.0.2",
|
||||
"npm-groovy-lint": "^15.0.0",
|
||||
"postcss-less": "^6.0.0",
|
||||
"prettier": "^3.3.3",
|
||||
"prettyjson": "^1.2.5",
|
||||
|
|
12
test/linters/groovy/groovy_good_02.groovy
Normal file
12
test/linters/groovy/groovy_good_02.groovy
Normal file
|
@ -0,0 +1,12 @@
|
|||
import groovy.text.*
|
||||
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
|
||||
|
||||
@Library('somelib')
|
||||
import com.mycorp.pipeline.somelib.Helper
|
||||
|
||||
int useSomeLib(Helper helper) {
|
||||
helper.prepare()
|
||||
return helper.count()
|
||||
}
|
||||
|
||||
echo useSomeLib(new Helper('some text'))
|
Loading…
Reference in a new issue