Skip to content

tools: use arrow function for callback in lint-sh.js

Rodrigo Muino Tomonari requested to merge github/fork/Trott/lint-sh into master

The function declaration inside an else block is odd (and violates a recommended ESLint rule). We tend to use arrow functions for callbacks anyway, so switch to that.

Merge request reports

Loading