Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: DonIsaac/zlint

v0.7.9

16 Jul 06:16

Choose a tag to compare

What's Changed

  • fix(allocator-first-param): check for @This(), etch when finding self by @DonIsaac in #304
  • fix(case-convention): generics should use PascalCase by @DonIsaac in #305
  • chore: add diagnostic fn to new rule template by @DonIsaac in #306
  • test(sema): add scope children tests by @DonIsaac in #308
  • chore: bump zig to 0.14.1 by @DonIsaac in #309
  • fix(linter/case-convention): only fns returning 'type' are pascal case by @DonIsaac in #310

Full Changelog: v0.7.8...v0.7.9

v0.7.8

15 Jul 23:05

Choose a tag to compare

This release comes with 3 new rules

  • case-convention - check that functions use camelCased names
  • returned-stack-reference - check for functions returning pointers to stack memory. (this rule is in nursery)
  • allocator-first-param - require functions that take an allocator argument to put it as the first parameter

What's Changed

Full Changelog: v0.7.7...v0.7.8

v0.7.6

13 Apr 18:02

Choose a tag to compare

What's Changed

  • fix(must-return-ref): only walk subtree of target function by @DonIsaac in #280
  • feat(linter/avoid-as): handle @as in container fields by @DonIsaac in #281
  • feat(linter/unsafe-undefined): allow ignoring certain types by @DonIsaac in #282
  • fix(linter/unused-decls): auto fixer removes newlines by @DonIsaac in #283
  • perf(sema): inline visitors in release builds only by @DonIsaac in #284
  • refactor(sema): move ast-stuff to Parse struct by @DonIsaac in #285
  • chore: random cleanup by @DonIsaac in #286

Full Changelog: v0.7.5...v0.7.6

v0.7.5

12 Apr 20:36

Choose a tag to compare

ZLint now has a VSCode extension! Please note this extension is still in alpha and does not work with versions of zlint before v0.7.5.

To get diagnostics, run the Zlint: Run ZLint command (cmd+shift+p on mac, ctrl+shift+p on windows)

image

What's Changed

Full Changelog: v0.7.4...v0.7.5

v0.7.4

06 Apr 02:15

Choose a tag to compare

zlint.json now supports per-rule configuration.

{
    "rules": {
        "unsafe-undefined": ["error", { "allow_arrays": true }]
    }
}

What's Changed

Full Changelog: v0.7.3...v0.7.4

v0.7.3

29 Mar 05:31

Choose a tag to compare

What's Changed

  • fix(reporter): odd-length span underlines by @DonIsaac in #263
  • fix(linter): --fix should not apply dangerous fixes by @DonIsaac in #264
  • fix(linter/avoid-as): fixer should not strip pub from vars by @DonIsaac in #266

Full Changelog: v0.7.2...v0.7.3

v0.7.2

17 Mar 06:40

Choose a tag to compare

What's Changed

Full Changelog: v0.7.1...v0.7.2

v0.7.1

11 Mar 05:47

Choose a tag to compare

What's Changed

  • chore: slight StringWriter improvements by @DonIsaac in #250
  • feat(linter): configure ignored folders by @DonIsaac in #252
  • fix(linter/homeless-return): handle !if ... return types by @DonIsaac in #253
  • fix(linter/homeless-try): false positive when returning errors by @DonIsaac in #256
  • fix(linter/unsafe-undefined): false positive for enum variants named undefined by @DonIsaac in #255

Full Changelog: v0.7.0...v0.7.1

v0.7.0

08 Mar 10:36

Choose a tag to compare

ZLint is now ~50% faster after upgrading to Zig 0.14.0 and performance improvements to report rendering.

What's Changed

Full Changelog: v0.6.4...v0.7.0

v0.6.4

25 Feb 07:20

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.3...v0.6.4