From 4054b79aa578768245b4e8ef1f1c955df124b9eb Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Wed, 6 Mar 2019 16:05:35 +0100 Subject: [PATCH] removed duplicated plugin, add bail --- .eslintrc | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index b8139df6..a13d37b4 100644 --- a/.eslintrc +++ b/.eslintrc @@ -3,10 +3,9 @@ "eslint-config-airbnb", "prettier", "prettier/babel", - "plugin:flowtype/recommended", "prettier/flowtype", "prettier/react", - "plugin:jest/recommended", + "plugin:flowtype/recommended", "plugin:jest/recommended" ], "globals": { diff --git a/package.json b/package.json index a8be36d5..917e09c9 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "lint": "run-s lint:*", "lint:js": "npx eslint ./src ./webpack", "lint:css": "npx stylelint './src/**/*.js'", - "lint:prettier": "npx pretty-quick", + "lint:prettier": "npx pretty-quick --bail", "lint-fix": "npx eslint ./src ./webpack --fix", "prettier:check": "npx eslint --print-config ./src | eslint-config-prettier-check", "test": "run-s test:*",