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