Skip to content

Commit 385dd67

Browse files
committed
Fix linter issues
1 parent 0ac8ef0 commit 385dd67

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

lib/jsonpatch.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ defmodule Jsonpatch do
1010
by using `~1` for `/` and `~0` for `~`.
1111
"""
1212

13-
alias Jsonpatch.Types
1413
alias Jsonpatch.Operation.{Add, Copy, Move, Remove, Replace, Test}
14+
alias Jsonpatch.Types
1515

1616
@typedoc """
1717
A valid Jsonpatch operation by RFC 6902

lib/jsonpatch/operation/copy.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ defmodule Jsonpatch.Operation.Copy do
1010
{:ok, %{"a" => %{"b" => %{"c" => "Bob"}, "e" => %{"c" => "Bob"}}, "d" => false}}
1111
"""
1212

13-
alias Jsonpatch.Types
1413
alias Jsonpatch.Operation.{Add, Copy}
14+
alias Jsonpatch.Types
1515
alias Jsonpatch.Utils
1616

1717
@enforce_keys [:from, :path]

lib/jsonpatch/operation/replace.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ defmodule Jsonpatch.Operation.Replace do
1010
{:ok, %{"a" => %{"b" => 1}}}
1111
"""
1212

13-
alias Jsonpatch.Types
1413
alias Jsonpatch.Operation.{Add, Remove, Replace}
14+
alias Jsonpatch.Types
1515

1616
@enforce_keys [:path, :value]
1717
defstruct [:path, :value]

mix.exs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,16 @@ defmodule Jsonpatch.MixProject do
2121
end
2222

2323
def cli do
24-
[preferred_envs: [coveralls: :test, "coveralls.github": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test, docs: :dev]]
24+
[
25+
preferred_envs: [
26+
coveralls: :test,
27+
"coveralls.github": :test,
28+
"coveralls.detail": :test,
29+
"coveralls.post": :test,
30+
"coveralls.html": :test,
31+
docs: :dev
32+
]
33+
]
2534
end
2635

2736
def application do

0 commit comments

Comments
 (0)