Skip to content

Commit

Permalink
fix: hide a linter error with an underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg committed Jan 8, 2024
1 parent ba32f53 commit 853ea1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"rules": {
"object-curly-newline": "off",
"camelcase": "off"
"camelcase": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
}
}
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const app = new App({
});

/** Sample Function Listener */
app.function('sample_function', async ({ client, inputs, complete, fail }) => {
app.function('sample_function', async ({ _client, inputs, complete, fail }) => {
try {
const { sample_input } = inputs;

Expand Down

0 comments on commit 853ea1b

Please sign in to comment.