2018-01-14 16:56:50 +00:00
|
|
|
use Mix.Config
|
|
|
|
alias Dogma.Rule
|
|
|
|
|
|
|
|
config :dogma,
|
2018-07-27 08:45:35 +00:00
|
|
|
# Select a set of rules as a base
|
|
|
|
rule_set: Dogma.RuleSet.All,
|
2018-01-14 16:56:50 +00:00
|
|
|
|
2018-07-27 08:45:35 +00:00
|
|
|
# Pick paths not to lint
|
|
|
|
exclude: [
|
|
|
|
~r(\Alib/vendor/)
|
|
|
|
],
|
2018-01-14 16:56:50 +00:00
|
|
|
|
2018-07-27 08:45:35 +00:00
|
|
|
# Override an existing rule configuration
|
|
|
|
override: [
|
|
|
|
%Rule.LineLength{enabled: false}
|
|
|
|
]
|