fix some code style and add checks to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -34,4 +34,4 @@ config :guardian, Guardian.DB,
|
||||
repo: Eventos.Repo,
|
||||
schema_name: "guardian_tokens", # default
|
||||
token_types: ["refresh_token"], # store all token types if not set
|
||||
sweep_interval: 60 # default: 60 minutes
|
||||
sweep_interval: 60 # default: 60 minutes
|
||||
|
||||
17
config/dogma.exs
Normal file
17
config/dogma.exs
Normal file
@@ -0,0 +1,17 @@
|
||||
use Mix.Config
|
||||
alias Dogma.Rule
|
||||
|
||||
config :dogma,
|
||||
|
||||
# Select a set of rules as a base
|
||||
rule_set: Dogma.RuleSet.All,
|
||||
|
||||
# Pick paths not to lint
|
||||
exclude: [
|
||||
~r(\Alib/vendor/),
|
||||
],
|
||||
|
||||
# Override an existing rule configuration
|
||||
override: [
|
||||
%Rule.LineLength{ enabled: false },
|
||||
]
|
||||
Reference in New Issue
Block a user