unused/test/Unused
Joshua Clayton 7fe32edc4d
Support projections-style transformations to reduce false-positives
Basic aliases (e.g. `admin?`/`be_admin`) can be represented easily with simple
wildcards, but more complex transformations require a different mechanism.

Instead of using `%s` to represent strings that can be replaced 1:1, this
introduces a syntax inspired by https://github.com/tpope/vim-projectionist, as
such:

    - name: Rails
      aliases:
      - from: "*Validator"
        to: "{snakecase}"

This would find `AbsoluteUriValidator` and also match `absolute_uri`, which
would be found if the validation was in use.

This currently supports the `camelcase` and `snakecase` transformations,
as well as no transformation.

Closes #18
2016-07-19 15:14:34 -04:00
..
Cache Use .gitignore to determine files for fingerprinting a project 2016-05-26 17:19:35 -04:00
Grouping Improve alias calculations 2016-07-16 05:19:42 -04:00
TermSearch Improve alias calculations 2016-07-16 05:19:42 -04:00
AliasesSpec.hs Support projections-style transformations to reduce false-positives 2016-07-19 15:14:34 -04:00
LikelihoodCalculatorSpec.hs consider Total Score <2 as occurs once 2016-07-19 05:09:46 -04:00
ParserSpec.hs consider Total Score <2 as occurs once 2016-07-19 05:09:46 -04:00
ProjectionSpec.hs Support projections-style transformations to reduce false-positives 2016-07-19 15:14:34 -04:00
ResponseFilterSpec.hs Improve alias calculations 2016-07-16 05:19:42 -04:00
TypesSpec.hs Improve alias calculations 2016-07-16 05:19:42 -04:00
UtilSpec.hs Switch to faster/more naive implementation of String to Int conversion 2016-05-18 11:17:13 -04:00