npm-groovy-lint
Advanced tools
Comparing version 8.0.0 to 8.0.1
# Changelog | ||
## [8.0.1] 2020-11-19 | ||
- Add a test case where variable includes if in its name for fix of rule SpaceAfterIf ([Behlül Uçar](https://github.com/ucarbehlul)) | ||
## [8.0.0] 2020-11-15 | ||
@@ -4,0 +8,0 @@ |
@@ -389,2 +389,2 @@ { | ||
} | ||
} | ||
} |
@@ -43,2 +43,14 @@ // Space after if | ||
` | ||
}, | ||
{ | ||
sourceBefore: ` | ||
if(lifetime) { | ||
def a = 1 | ||
} | ||
`, | ||
sourceAfter: ` | ||
if (lifetime) { | ||
def a = 1 | ||
} | ||
` | ||
} | ||
@@ -45,0 +57,0 @@ ] |
{ | ||
"name": "npm-groovy-lint", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files", | ||
@@ -13,3 +13,3 @@ "main": "index.js", | ||
"test:debug": "npm run dev:kill-server && mocha --reporter spec --inspect-brk \"lib/test/**/*.test.js\"", | ||
"dev:build-config": "node script-build-config-all.js", | ||
"build": "node script-build-config-all.js && cp -f README.md docs/index.md", | ||
"dev:kill-server": "npm-groovy-lint --killserver", | ||
@@ -16,0 +16,0 @@ "dev:lint-install-local": "npm run dev:kill-server && npm run lint:fix && npm link --force", |
@@ -32,3 +32,3 @@ <!-- markdownlint-disable MD013 MD033 MD034 --> | ||
![https://github.com/nvuillam/npm-groovy-lint/raw/master/doc/images/npm-groovy-lint-results.png](https://github.com/nvuillam/npm-groovy-lint/raw/master/doc/images/npm-groovy-lint-results.png) | ||
![image](https://github.com/nvuillam/npm-groovy-lint/raw/master/docs/assets/images/npm-groovy-lint-results.png) | ||
@@ -408,3 +408,3 @@ See [CHANGELOG](https://github.com/nvuillam/npm-groovy-lint/blob/master/CHANGELOG.md) | ||
### [8.0.0] Unreleased | ||
## [8.0.0] 2020-11-15 | ||
@@ -414,6 +414,12 @@ - Upgrade to CodeNarc 2.0.0 | ||
- Adapt Indentation rule to new behaviour | ||
- Use codenarc --ruleset arg instead of temp ruleset file | ||
- Use codenarc --ruleset argument instead of temp ruleset file | ||
- Replace super-linter by [Mega-Linter](https://nvuillam.github.io/mega-linter/) | ||
- Fixes | ||
- [(#127)](https://github.com/nvuillam/npm-groovy-lint/issues/127) Formatting breaks code, converting `else if` into `elseif` in some cases | ||
- Apply formatting rules also for --fix mode | ||
- Fix Markdown dead links | ||
- CI | ||
- Migrate from CircleCI to GitHub Actions: now tests are on Linux, Windows & MacOs | ||
- Activate spelling linter of Mega-Linter (+ `.cspell.json` file) | ||
- Add test cases for format and fix using CLI | ||
@@ -420,0 +426,0 @@ ### [7.6.2] 2020-09-09 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16830338
8468
485