Skip to content

Commit 13392ea

Browse files
Valianclaude
andcommitted
Set line_length to 120 and fix formatting
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 13e599f commit 13392ea

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.formatter.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Used by "mix format"
22
[
3-
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
3+
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
4+
line_length: 120
45
]

lib/mquickjs_ex/api.ex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ defmodule MquickjsEx.API do
158158

159159
quote do
160160
@js_function MquickjsEx.API.validate_func!(
161-
{unquote(name), false,
162-
Module.delete_attribute(__MODULE__, :variadic) || false},
161+
{unquote(name), false, Module.delete_attribute(__MODULE__, :variadic) || false},
163162
__MODULE__,
164163
@js_function
165164
)
@@ -188,8 +187,7 @@ defmodule MquickjsEx.API do
188187

189188
quote do
190189
@js_function MquickjsEx.API.validate_func!(
191-
{unquote(name), true,
192-
Module.delete_attribute(__MODULE__, :variadic) || false},
190+
{unquote(name), true, Module.delete_attribute(__MODULE__, :variadic) || false},
193191
__MODULE__,
194192
@js_function
195193
)

0 commit comments

Comments
 (0)