Skip to content

Commit

Permalink
Add CredoFilenameConsistency check (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
remi committed Apr 23, 2019
1 parent d13958c commit d37d6ef
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
{Credo.Check.Warning.UnusedStringOperation},
{Credo.Check.Warning.UnusedTupleOperation},
{Credo.Check.Warning.OperationWithConstantResult},
{CredoEnvvar.Check.Warning.EnvironmentVariablesAtCompileTime}
{CredoEnvvar.Check.Warning.EnvironmentVariablesAtCompileTime},
{CredoFilenameConsistency.Check.Consistency.FilenameConsistency, excluded_paths: ["test/support"], acronyms: [{"GitHub", "github"}, {"AbsenceIO", "absenceio"}]}
]
}
]
Expand Down
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ defmodule Dispatch.Mixfile do
# Linting
{:credo, "~> 1.0.0", only: ~w(dev test)a, runtime: false},
{:credo_envvar, "~> 0.1.0", only: ~w(dev test)a, runtime: false},
{:credo_filename_consistency, "~> 0.1.0", only: [:dev, :test], runtime: false},

# Test
{:mock, "~> 0.2.0", only: :test},
Expand Down
1 change: 1 addition & 0 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"cowlib": {:hex, :cowlib, "2.7.0", "3ef16e77562f9855a2605900cedb15c1462d76fb1be6a32fc3ae91973ee543d2", [:rebar3], [], "hexpm"},
"credo": {:hex, :credo, "1.0.3", "5278e8953f379b41ebe27c75c96d2e154ebc3f75dfe057c8b68c39133c25bb9f", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm"},
"credo_envvar": {:hex, :credo_envvar, "0.1.1", "f6a6e0fd43d11ebc21f5aae96cfb6c215b833208be59b25885a72ec373324114", [:mix], [{:credo, "~> 1.0.0", [hex: :credo, repo: "hexpm", optional: false]}], "hexpm"},
"credo_filename_consistency": {:hex, :credo_filename_consistency, "0.1.1", "a186ae143a0711a2319ef25549a3bfb772e6e2ff85f0e4303663c417ff6d6ea8", [:make, :mix], [{:credo, "~> 1.0", [hex: :credo, repo: "hexpm", optional: false]}], "hexpm"},
"db_connection": {:hex, :db_connection, "1.1.2", "2865c2a4bae0714e2213a0ce60a1b12d76a6efba0c51fbda59c9ab8d1accc7a8", [:mix], [{:connection, "~> 1.0.2", [hex: :connection, repo: "hexpm", optional: false]}, {:poolboy, "~> 1.5", [hex: :poolboy, repo: "hexpm", optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, repo: "hexpm", optional: true]}], "hexpm"},
"decimal": {:hex, :decimal, "1.4.0", "fac965ce71a46aab53d3a6ce45662806bdd708a4a95a65cde8a12eb0124a1333", [:mix], [], "hexpm"},
"dialyxir": {:hex, :dialyxir, "1.0.0-rc.4", "71b42f5ee1b7628f3e3a6565f4617dfb02d127a0499ab3e72750455e986df001", [:mix], [{:erlex, "~> 0.1", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm"},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule Dispatch.AbsenceIOTest do
defmodule Dispatch.AbsencesTest do
use ExUnit.Case

import Mox
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d37d6ef

Please sign in to comment.