Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove uitable dependency #480

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Remove uitable dependency #480

merged 1 commit into from
Nov 17, 2023

Conversation

anderseknert
Copy link
Member

The compact format now uses a table with headings and borders as that actually looks better than what it used to, but the pretty format looks just as before.

An unexpected optimization, I must say, but:

regal-table lint e2e/testdata/violations/most_violations.rego ran
  1.09 ± 0.02 times faster than regal-main lint e2e/testdata/violations/most_violations.rego

That'll only benefit projects with many violations though ;)

Fixes #479

The compact format now uses a table with headings and borders
as that actually looks better than what it used to, but the
pretty format looks just as before.

An unexpected optimization, I must say, but:

```
regal-table lint e2e/testdata/violations/most_violations.rego ran
  1.09 ± 0.02 times faster than regal-main lint e2e/testdata/violations/most_violations.rego
```

That'll only benefit projects with many violations though ;)

Fixes #479

Signed-off-by: Anders Eknert <anders@styra.com>
@anderseknert anderseknert merged commit 227e454 into main Nov 17, 2023
2 checks passed
@anderseknert anderseknert deleted the remove-uitable branch November 17, 2023 08:34
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
The compact format now uses a table with headings and borders
as that actually looks better than what it used to, but the
pretty format looks just as before.

An unexpected optimization, I must say, but:

```
regal-table lint e2e/testdata/violations/most_violations.rego ran
  1.09 ± 0.02 times faster than regal-main lint e2e/testdata/violations/most_violations.rego
```

That'll only benefit projects with many violations though ;)

Fixes StyraInc#479

Signed-off-by: Anders Eknert <anders@styra.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove uitable dependency
2 participants