• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

skeema / skeema / 5662526119
92%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2023 10:49PM UTC
Jobs 1
Files 73
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jul 2023 10:32PM UTC coverage: 93.202% (+0.03%) from 93.176%
5662526119

push

github

evanelias
internal: pass linter.Options by pointer, not value

This commit adjusts all usage of linter.Options to be passed by pointer,
rather than by value. Two motivations for this:

* Efficiency: the struct contains 5 fields, and is passed to every single
  linter rule function call

* Mutability: if a linter rule needs to memoize some value to opts.RuleConfig,
  it may now do so cleanly. (Since opts.RuleConfig is a map and maps are
  reference types, technically this was already possible, but was bad/messy
  practice.) This may be useful for the collation linter proposed in #216,
  in order to detect the most common collation in a schema and memoize it in
  the RuleConfig.

41 of 41 new or added lines in 23 files covered. (100.0%)

9200 of 9871 relevant lines covered (93.2%)

1.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5662526119.1 25 Jul 2023 10:49PM UTC 0
93.2
GitHub Action Run
Source Files on build 5662526119
Detailed source file information is not available for this build.
  • Back to Repo
  • 8c0bcb6a on github
  • Prev Build on main (#5649721901)
  • Next Build on main (#5686626424)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc