From 38862270db3d58121d154f52e4bb1210fb4d0316 Mon Sep 17 00:00:00 2001 From: An Phan Date: Sun, 12 Feb 2017 22:42:39 +0800 Subject: [PATCH] Move babel and eslint config into package.json --- .babelrc | 4 ---- .eslintrc | 6 ------ package.json | 10 ++++++++++ 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 .babelrc delete mode 100644 .eslintrc diff --git a/.babelrc b/.babelrc deleted file mode 100644 index c4c8183d..00000000 --- a/.babelrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "presets": ["es2015"], - "plugins": ["lodash"] -} diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index bcad5c39..00000000 --- a/.eslintrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "vue", - "rules": { - "no-multi-str": "off" - } -} diff --git a/package.json b/package.json index 0332f160..b846b109 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,16 @@ "type": "git", "url": "https://github.com/phanan/koel" }, + "babel": { + "presets": ["es2015"], + "plugins": ["lodash"] + }, + "eslintConfig": { + "extends": "vue", + "rules": { + "no-multi-str": "off" + } + }, "dependencies": { "alertify.js": "^1.0.12", "axios": "^0.15.3",