npm-groovy-lint 14.6.1-beta202408252114.0 → 14.6.1-beta202408252305.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -427,6 +427,19 @@ Example
|
|
|
427
427
|
console.log(JSON.stringify(linter.lintResult));
|
|
428
428
|
```
|
|
429
429
|
|
|
430
|
+
## Troubleshooting
|
|
431
|
+
|
|
432
|
+
If you have issues with MegaLinter, you can [report it on the repository](https://github.com/nvuillam/npm-groovy-lint/issues)
|
|
433
|
+
|
|
434
|
+
To help reproducing, you can access advanced logs using DEBUG env variables
|
|
435
|
+
|
|
436
|
+
Examples:
|
|
437
|
+
|
|
438
|
+
- `DEBUG=npm-groovy-lint npm-groovy-lint ....`
|
|
439
|
+
- `DEBUG=npm-groovy-lint,npm-groovy-lint-trace npm-groovy-lint ....`
|
|
440
|
+
|
|
441
|
+
If you want to see what happens in CodeNarc Server, you can clone the repo and run locally `npm server:run` before running npm-groovy-lint: you'll see the live logs of the to CodeNarc Server for npm-groovy-lint.
|
|
442
|
+
|
|
430
443
|
## Contribute
|
|
431
444
|
|
|
432
445
|
Contributions are very welcome !
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import NpmGroovyLint from "./groovy-lint.js";
|
|
4
|
-
import { pathToFileURL } from
|
|
4
|
+
import { pathToFileURL } from "url";
|
|
5
5
|
|
|
6
6
|
// Create linter/formatter/fixer with arguments
|
|
7
7
|
const linter = new NpmGroovyLint(process.argv, { origin: "index" });
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED