Skip to content

Commit

Permalink
tools: simplify eslint comma-dangle configuration
Browse files Browse the repository at this point in the history
Remove comma-dangle settings in benchmark/.eslintrc.yaml as they are the
same as what is set in .eslintrc.js.

PR-URL: nodejs#37850
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and sbaayel committed Dec 28, 2023
1 parent 78b649f commit 3e82c8d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions benchmark/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@ env:

rules:
no-var: error
comma-dangle:
- error
- arrays: 'always-multiline'
objects: 'only-multiline'
imports: 'only-multiline'
exports: 'only-multiline'
prefer-arrow-callback: error

0 comments on commit 3e82c8d

Please sign in to comment.