From 1bd0418b6218ae93447d4afd98146919ac379218 Mon Sep 17 00:00:00 2001 From: Janzen Zarzoso Date: Fri, 5 Oct 2018 12:05:28 +1300 Subject: [PATCH] Prevent eslint rules from cascading. This prevents eslint rules from cascading to the parent directory. This prevents the same issue on [ss-userforms](https://github.com/silverstripe/silverstripe-userforms/issues/819). --- .eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc b/.eslintrc index 7fbfb63..da82f50 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,5 +1,6 @@ { "extends": "airbnb", + "root": true, "rules": { "init-declarations": 1 }