From f0ca636ef4bd241d3a4c78db88868276c2f0071e Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 2 Mar 2017 10:56:29 +0700 Subject: [PATCH] dump eslint for xo --- package.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 163404f..df34583 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,11 @@ }, "scripts": { "test": "nyc ava test", - "lint": "eslint src", + "lint": "xo", "coverage": "nyc report --reporter=text-lcov | coveralls" }, - "eslintConfig": { - "extends": "lukechilds", - "rules": { - "prefer-rest-params": "off" - } + "xo": { + "extends": "xo-lukechilds" }, "repository": { "type": "git", @@ -44,8 +41,8 @@ "devDependencies": { "ava": "^0.18.0", "coveralls": "^2.11.13", - "eslint": "^3.5.0", - "eslint-config-lukechilds": "^1.9.0", - "nyc": "^10.0.0" + "eslint-config-xo-lukechilds": "^1.0.0", + "nyc": "^10.0.0", + "xo": "^0.17.1" } }