From 671abd5178bc5d6e9f92dc528b899d084acd034b Mon Sep 17 00:00:00 2001 From: Anshuman Verma Date: Thu, 6 Jun 2019 10:45:14 +0530 Subject: [PATCH] chore(eslint): add eslint-prettier plugin add eslint-prettier plugin --- .eslintrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 0c8e2e4f974..61d9e93f8c6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,6 @@ module.exports = { extends: ["eslint:recommended"], + plugins: ["prettier"], env: { node: true, es6: true, @@ -7,6 +8,7 @@ module.exports = { }, parserOptions: { ecmaVersion: 2017, sourceType: "module" }, rules: { + "prettier/prettier": "error", "no-useless-escape": "off", "quote-props": ["error", "as-needed"], "no-dupe-keys": "error", @@ -14,7 +16,7 @@ module.exports = { "no-undef": "error", "no-extra-semi": "error", semi: "error", - "no-template-curly-in-string": "error", + "no-tempate-curly-in-string": "error", "no-caller": "error", yoda: "error", eqeqeq: "error",