mendix-cli icon indicating copy to clipboard operation
mendix-cli copied to clipboard

Feature/improve noqa with --ignore-noqa and rule level skipping

Open xiwenc opened this issue 5 months ago • 1 comments

fixes #77 and #78

xiwenc avatar Nov 27 '25 22:11 xiwenc

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ :robot:
github.com/mxlint/mxlint-cli 0.00% (ø)
github.com/mxlint/mxlint-cli/lint 63.75% (+2.12%) :thumbsup:
github.com/mxlint/mxlint-cli/mpr 76.96% (+0.16%) :thumbsup:
github.com/mxlint/mxlint-cli/serve 22.33% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed :robot:
github.com/mxlint/mxlint-cli/lint/lint.go 45.32% (-0.13%) 203 (+5) 92 (+2) 111 (+3) :thumbsdown:
github.com/mxlint/mxlint-cli/lint/lint_javascript.go 72.73% (+3.16%) 66 (-3) 48 18 (-3) :thumbsup:
github.com/mxlint/mxlint-cli/lint/lint_rego.go 82.56% (-0.59%) 86 (-3) 71 (-3) 15 :thumbsdown:
github.com/mxlint/mxlint-cli/lint/utils.go 81.54% (+24.40%) 65 (+37) 53 (+37) 12 :star2:
github.com/mxlint/mxlint-cli/main.go 0.00% (ø) 99 (+2) 0 99 (+2)
github.com/mxlint/mxlint-cli/mpr/mpr.go 80.63% (+0.35%) 351 (-4) 283 (-2) 68 (-2) :thumbsup:
github.com/mxlint/mxlint-cli/serve/serve.go 10.00% (ø) 170 17 153

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/mxlint/mxlint-cli/lint/lint_test.go
  • github.com/mxlint/mxlint-cli/lint/utils_test.go

github-actions[bot] avatar Nov 27 '25 22:11 github-actions[bot]