From 8bfe42746908330e268e671685b4e183d8800793 Mon Sep 17 00:00:00 2001 From: syossan27 Date: Fri, 3 Mar 2017 14:39:10 +0900 Subject: [PATCH] Add ESLint in test script --- .eslintrc.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 38c732e..cb291be 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,6 +1,6 @@ { "parserOptions": { - "ecmaVersion": 6 + "ecmaVersion": 8 }, "comma-dangle": ["error", "never"] } diff --git a/package.json b/package.json index 193cc99..2cd1374 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Recognizes certain classes of webpack errors and cleans, aggregates and prioritizes them to provide a better Developer Experience", "main": "index.js", "scripts": { - "test": "jest" + "test": "eslint --ignore-pattern test/* & jest" }, "files": [ "src",