diff --git a/.eslintrc b/.eslintrc index b9ebff875f1655..f2a61ab4134395 100644 --- a/.eslintrc +++ b/.eslintrc @@ -83,7 +83,6 @@ rules: strict: [2, "global"] # Custom rules in tools/eslint-rules - require-buffer: 2 new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"] diff --git a/lib/.eslintrc b/lib/.eslintrc new file mode 100644 index 00000000000000..341e9327c7cf3a --- /dev/null +++ b/lib/.eslintrc @@ -0,0 +1,3 @@ +rules: + # Custom rules in tools/eslint-rules + require-buffer: 2