Skip to content

Releases: AnnikaCodes/ziglint

0.0.7

29 Jul 04:28
4a64850
Compare
Choose a tag to compare

BREAKING CHANGE!

ziglint now supports specifying the severity of faults that a rule produces.
The ziglint.json format has been changed to accomodate this.

Other Changes

Other changes include:

  • A banned_comment_phrases rule allowing the linter to fault certain phrases in comments.
  • A file_as_struct rule enforcing the file capitalization convention for files with top-level fields.
  • A dupe_import rule checking for when a file is needlessly imported multiple times.
  • The unfinished const pointer enforcement rule has been removed for now.

Pull Requests

Full Changelog: v0.0.6...v0.0.7

0.0.6

23 Jul 02:56
0f3513e
Compare
Choose a tag to compare
  • ziglint now utilizes exit codes.
  • Logging verbosity has been decreased.

What's Changed

New Contributors

Full Changelog: v0.0.5...v0.0.6

0.0.5

18 Jul 04:13
Compare
Choose a tag to compare
  • ziglint no longer gets stuck in an infinite loop while attempting to lint certain symlink configurations on Windows.

Full Changelog: v0.0.4...v0.0.5

0.0.4

09 Jul 18:03
a6e3221
Compare
Choose a tag to compare
  • .gitignore files are now correctly parsed on Windows.
  • Error reporting in the upgrade process has been improved.
  • The automatic builds of ziglint on GitHub no longer include a faulty HTTP client.

Full Changelog: v0.0.3...v0.0.4

0.0.3

07 Jul 05:17
b075823
Compare
Choose a tag to compare
  • Support for the Windows operating system has been improved.
  • exclude and include rules can now be specified with command-line options.

Full Changelog: v0.0.2...v0.0.3

0.0.2

28 Jun 04:51
0a2f0f1
Compare
Choose a tag to compare
  • New exclude and include rules have been implemented!
  • max_line_length now defaults to a maximum of 100 characters per line.
  • Command-line argument parsing was rewritten.
  • Zig's std.log is no longer used for logging, fixing issues where information about upgrades wouldn't be printed properly.
  • A bug in how max_line_length counts line lengths has been fixed. Newlines are no longer included in line length, and non-ASCII Unicode characters are no longer double-counted.

Full Changelog: v0.0.1...v0.0.2

0.0.1

20 Jun 04:51
3fa0616
Compare
Choose a tag to compare

0.0.1

This is the first version of ziglint.
It's not too useful, but it supports two rules (check_format and max_line_length) and it can upgrade itself and follow directives from a .gitignore.

Full Changelog: https://github.com/AnnikaCodes/ziglint/commits/v0.0.1

Bleeding edge

09 Jun 04:11
f77ad31
Compare
Choose a tag to compare
Bleeding edge Pre-release
Pre-release

This release automatically updates with a binary built from the latest commit on main. It's probably buggy and you probably shouldn't use it. The source code archives listed for download are put there by GitHub; I don't think they'll stay up to date.