From b17f4cbf681b91e53925e5f999f0c4d4dcc49da3 Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Thu, 23 May 2019 16:34:24 +0200 Subject: [PATCH] Enable prettier eslint plugin --- .eslintignore | 2 +- .eslintrc.json | 4 ++-- .prettierrc | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.eslintignore b/.eslintignore index 13da670a0..2c1ef701c 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,4 @@ -spec/fixtures/**/*.js +**/spec/fixtures/**/*.js node_modules /vendor/ /out/ \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json index 3050b2b9e..62995e39c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -25,7 +25,7 @@ "rules": { "standard/no-callback-literal": ["off"], "node/no-deprecated-api": ["off"], - "prettier/prettier": ["off"] // disable prettier rules for now. + "prettier/prettier": ["error"] }, "overrides": [ { @@ -41,4 +41,4 @@ } } ] -} \ No newline at end of file +} diff --git a/.prettierrc b/.prettierrc index b2095be81..544138be4 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,3 @@ { - "semi": false, "singleQuote": true }