Skip to content

Commit

Permalink
tools: enforce no unused trailing arguments tools directory
Browse files Browse the repository at this point in the history
Use linting to enforce that the final argument for a function must be
used.

PR-URL: #16953
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
Trott authored and MylesBorins committed Nov 17, 2017
1 parent 57937e5 commit 2b903bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rules:
# Variables
# http://eslint.org/docs/rules/#variables
no-unused-vars: [error, { args: 'after-used' }]

0 comments on commit 2b903bf

Please sign in to comment.