Skip to content

Commit d1d1759

Browse files
committed
Update credo settings. More js lints
1 parent 81a058e commit d1d1759

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

.credo.exs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,7 @@
5454
{Credo.Check.Consistency.SpaceAroundOperators},
5555
{Credo.Check.Consistency.SpaceInParentheses, false},
5656
{Credo.Check.Consistency.TabsOrSpaces},
57-
58-
# For some checks, like AliasUsage, you can only customize the priority
59-
# Priority values are: `low, normal, high, higher`
60-
{Credo.Check.Design.AliasUsage, priority: :low},
61-
62-
# For others you can set parameters
63-
64-
# If you don't want the `setup` and `test` macro calls in ExUnit tests
65-
# or the `schema` macro in Ecto schemas to trigger DuplicatedCode, just
66-
# set the `excluded_macros` parameter to `[:schema, :setup, :test]`.
6757
{Credo.Check.Design.DuplicatedCode, excluded_macros: []},
68-
69-
# You can also customize the exit_status of each check.
70-
# If you don't want TODO comments to cause `mix credo` to fail, just
71-
# set this value to 0 (zero).
7258
{Credo.Check.Design.TagTODO, exit_status: 2},
7359
{Credo.Check.Design.TagFIXME},
7460

@@ -119,9 +105,6 @@
119105
{Credo.Check.Warning.UnusedRegexOperation},
120106
{Credo.Check.Warning.UnusedStringOperation},
121107
{Credo.Check.Warning.UnusedTupleOperation},
122-
123-
# Custom checks can be created using `mix credo.gen.check`.
124-
#
125108
]
126109
}
127110
]

src/javascript/lib/core/erlang_compat/binary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ function list_to_bin(bytelist) {
1010

1111
export default {
1212
copy,
13-
list_to_bin
13+
list_to_bin,
1414
};

src/javascript/tests/cond.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Core from '../lib/core';
33

44
const SpecialForms = Core.SpecialForms;
55

6-
test('cond', t => {
6+
test('cond', (t) => {
77
const clauses = [
88
[1 + 1 === 1, () => 'This will never match'],
99
[2 * 2 !== 4, () => 'Nor this'],

0 commit comments

Comments
 (0)