Skip to content

Commit 5ffd743

Browse files
Trottrvagg
authored andcommittedFeb 27, 2016
tools: apply custom buffer lint rule to /lib only
The lint rule is there to avoid a circular-dependency issue that only applies to `/lib`. In preparation for linting `/benchmark`, apply that rule to `/lib` only to avoid churn in `/benchmark`. Refs: #3983 (comment) PR-URL: #5371 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent fa5d28f commit 5ffd743

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎.eslintrc

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ rules:
8383
strict: [2, "global"]
8484

8585
# Custom rules in tools/eslint-rules
86-
require-buffer: 2
8786
new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"]
8887

8988

‎lib/.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rules:
2+
# Custom rules in tools/eslint-rules
3+
require-buffer: 2

0 commit comments

Comments
 (0)
Please sign in to comment.