GithubHelp home page GithubHelp logo

rebar3_lint's Introduction

rebar3_lint

build

rebar3_lint is a rebar3 plugin to ease the integration of elvis into your project.

Use

Add the plugin to your rebar.config:

{project_plugins, [
    rebar3_lint
]}.

Then call it:

$ rebar3 lint
===> Fetching rebar3_lint
===> Compiling rebar3_lint
<plugin output>

Configuration

The plugin supports configuration option elvis_output_format in rebar.config:

{elvis_output_format, plain | colors | parsable}. % default: colors

It also supports option elvis (in rebar.config) as you'd find elvis's own config (inside option elvis).

If no elvis configuration is present in rebar.config, the plug-in will look for an elvis.config file in the project root folder (but only the config section will be applied - this is an elvis idiosyncrasy).

The output format may then be configured separately in rebar.config, as previously explained.

This is the default configuration if no input is provided:

[#{ dirs => ["apps/*/src/**", "src/**"],
    filter => "*.erl",
    ruleset => erl_files },
 #{ dirs => ["."],
    filter => "rebar.config",
    ruleset => rebar_config },
 #{ dirs => ["."],
    filter => "elvis.config",
    ruleset => elvis_config }]

rebar3_lint's People

Contributors

licenser avatar paulo-ferraz-oliveira avatar elbrujohalcon avatar cypherfox avatar g-andrade avatar belltoy avatar f3c0 avatar kianmeng avatar stratus3d avatar zeek0x avatar hauleth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.