Skip to content

Commit fc2f4e1

Browse files
authored
chore: use compact -W=M0236,M0237,M0223 format in languages mops.toml (#1334)
1 parent 229c6e7 commit fc2f4e1

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

motoko/classes/mops.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ core = "2.4.0"
1010
# M0236: use context dot notation (e.g. map.get(k) instead of Map.get(map, compare, k))
1111
# M0237: redundant explicit implicit arguments (e.g. Nat.compare is inferred automatically)
1212
# M0223: redundant type instantiation (e.g. Array.tabulate instead of Array.tabulate<T>)
13-
args = ["-W", "M0236", "-W", "M0237", "-W", "M0223"]
13+
args = ["-W=M0236,M0237,M0223"]

motoko/composite_query/mops.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ core = "2.4.0"
1010
# M0236: use context dot notation (e.g. map.get(k) instead of Map.get(map, compare, k))
1111
# M0237: redundant explicit implicit arguments (e.g. Nat.compare is inferred automatically)
1212
# M0223: redundant type instantiation (e.g. Array.tabulate instead of Array.tabulate<T>)
13-
args = ["-W", "M0236", "-W", "M0237", "-W", "M0223"]
13+
args = ["-W=M0236,M0237,M0223"]

motoko/hello_cycles/mops.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ core = "2.4.0"
1010
# M0236: use context dot notation (e.g. map.get(k) instead of Map.get(map, compare, k))
1111
# M0237: redundant explicit implicit arguments (e.g. Nat.compare is inferred automatically)
1212
# M0223: redundant type instantiation (e.g. Array.tabulate instead of Array.tabulate<T>)
13-
args = ["-W", "M0236", "-W", "M0237", "-W", "M0223"]
13+
args = ["-W=M0236,M0237,M0223"]

motoko/low_wasm_memory/mops.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ core = "2.4.0"
1010
# M0236: use context dot notation (e.g. map.get(k) instead of Map.get(map, compare, k))
1111
# M0237: redundant explicit implicit arguments (e.g. Nat.compare is inferred automatically)
1212
# M0223: redundant type instantiation (e.g. Array.tabulate instead of Array.tabulate<T>)
13-
args = ["-W", "M0236", "-W", "M0237", "-W", "M0223"]
13+
args = ["-W=M0236,M0237,M0223"]

motoko/parallel_calls/mops.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ core = "2.4.0"
1010
# M0236: use context dot notation (e.g. map.get(k) instead of Map.get(map, compare, k))
1111
# M0237: redundant explicit implicit arguments (e.g. Nat.compare is inferred automatically)
1212
# M0223: redundant type instantiation (e.g. Array.tabulate instead of Array.tabulate<T>)
13-
args = ["-W", "M0236", "-W", "M0237", "-W", "M0223"]
13+
args = ["-W=M0236,M0237,M0223"]

motoko/random_maze/mops.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ core = "2.4.0"
1010
# M0236: use context dot notation (e.g. map.get(k) instead of Map.get(map, compare, k))
1111
# M0237: redundant explicit implicit arguments (e.g. Nat.compare is inferred automatically)
1212
# M0223: redundant type instantiation (e.g. Array.tabulate instead of Array.tabulate<T>)
13-
args = ["-W", "M0236", "-W", "M0237", "-W", "M0223"]
13+
args = ["-W=M0236,M0237,M0223"]

0 commit comments

Comments
 (0)