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
- Add dupe_import rule by @scheibo in #11
- Add file_as_struct rule by @scheibo in #12
- Revert "GitHub Actions: Patch Zig stdlib before compiling" by @scheibo in #13
Full Changelog: v0.0.6...v0.0.7