From 53bea20e7960577234fcc86b38108af0c77fdb71 Mon Sep 17 00:00:00 2001 From: Nick McCurdy Date: Sun, 24 Dec 2017 02:01:01 -0500 Subject: [PATCH] Use eslint-config-koa (#1105) --- .eslintrc.yml | 17 +---------------- package.json | 2 +- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 20ae286..a1c8ab8 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,16 +1 @@ -# Support ES2016 features -parser: babel-eslint - -extends: standard - -rules: - arrow-parens: [2, as-needed] - eqeqeq: 0 - no-return-assign: 0 # fails for arrow functions - no-var: 2 - semi: [2, always] - space-before-function-paren: [2, never] - yoda: 0 - arrow-spacing: 2 - dot-location: [2, "property"] - prefer-arrow-callback: 2 +extends: koa diff --git a/package.json b/package.json index 61c5949..4b7f997 100644 --- a/package.json +++ b/package.json @@ -48,8 +48,8 @@ "vary": "^1.0.0" }, "devDependencies": { - "babel-eslint": "^7.1.1", "eslint": "^3.17.1", + "eslint-config-koa": "^2.0.0", "eslint-config-standard": "^7.0.1", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-standard": "^2.1.1",