Skip to content

v0.8.0

Compare
Choose a tag to compare
@veelenga veelenga released this 15 Aug 16:59
· 934 commits to master since this release
d9cfc90

New Features

  • Now rules have namespaces (i.e. style, lint, layout), see #63

  • It became possible to run only rules that belong to a specific namespace, see #65

    $ ameba --only Style,Lint
    $ ameba --except Style
    
  • It became possible to disable a group of rules by inline directive, see 98f0aa7

    time = Time.epoch(1483859302) # ameba:disable Style, Lint

Improvements

  • Fix Makefile to avoid rebuild if bin/ameba exists, see #69
  • Disable PredicateName and LargeNumbers rules by default, see 970ca4b
  • Now ameba accepts --all cli flag, that enables all available rules (even if they are disabled by default), 248c5a6
  • Added --no-color cli flag to disable colorizing, see d60aea1

Bugfixes

  • Correctly handle type declarations in scopes, see 04c7300
  • Ignore outer shadowing of throwaway variables, see dbac46b