From f85d157c37e2664bc3ea2207d9682bf2eadb959c Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 7 May 2019 23:59:00 -0400 Subject: [PATCH] build: use yaml eslint configuration --- .eslintrc | 7 ------- .eslintrc.yml | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 .eslintrc create mode 100644 .eslintrc.yml diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 8f51db362..000000000 --- a/.eslintrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "rules": { - "eol-last": "error", - "indent": ["error", 2, { "SwitchCase": 1 }], - "no-trailing-spaces": "error" - } -} diff --git a/.eslintrc.yml b/.eslintrc.yml new file mode 100644 index 000000000..643b9a75e --- /dev/null +++ b/.eslintrc.yml @@ -0,0 +1,5 @@ +root: true +rules: + eol-last: error + indent: ["error", 2, { "SwitchCase": 1 }] + no-trailing-spaces: error