From 98b0b66b6c46882c3fa54f04185254ab53b38570 Mon Sep 17 00:00:00 2001 From: Yuta Hiroto Date: Tue, 13 Feb 2018 17:26:27 +0900 Subject: [PATCH] build: use yaml eslint configuration closes #3561 --- .eslintrc | 8 -------- .eslintrc.yml | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 .eslintrc create mode 100644 .eslintrc.yml diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index ad9c0ce9eb..0000000000 --- a/.eslintrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "rules": { - "eol-last": "error", - "indent": ["error", 2, { "SwitchCase": 1 }], - "no-trailing-spaces": "error", - "no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }] - } -} diff --git a/.eslintrc.yml b/.eslintrc.yml new file mode 100644 index 0000000000..1d9b154a6a --- /dev/null +++ b/.eslintrc.yml @@ -0,0 +1,7 @@ +root: true + +rules: + eol-last: error + indent: [error, 2, { SwitchCase: 1 }] + no-trailing-spaces: error + no-unused-vars: [error, { vars: all, args: none, ignoreRestSiblings: true }]