From 39e7e56cf1231fa70a34b859f0cf58ff355033fb Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 27 Mar 2017 10:46:29 +0800 Subject: [PATCH] add specific eslint config for test cases --- test/.eslintrc.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+), 0 deletions(-) create mode 100644 test/.eslintrc.json diff --git a/test/.eslintrc.json b/test/.eslintrc.json new file mode 100644 index 0000000..3e56a92 --- /dev/null +++ b/test/.eslintrc.json @@ -0,0 +1,15 @@ +{ + "extends": [ + "../.eslintrc.json" + ], + "globals": { + "expect": true + }, + "env": { + "node": true, + "mocha": true + }, + "rules": { + "indent": ["error",2, { "SwitchCase": 1 }] + } +} -- libgit2 0.21.4