From c60eb939bf78442a49d6e0c6dd4be71af7a92786 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Fri, 21 Apr 2017 17:43:49 +0300 Subject: [PATCH] tools: add `root: true` in main .eslintrc.yaml This option prevents ESlint from unnecessary searching in parent folders. It also protects ESlint rules from accidental rewriting by a config in a parent folder. Fixes: https://github.com/nodejs/node/issues/12566 --- .eslintrc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index e4df6e6e4f2462..de26dadbcc03dc 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -1,3 +1,5 @@ +root: true + env: node: true es6: true