Skip to content

Commit

Permalink
chore(eslint): add eslint-prettier plugin
Browse files Browse the repository at this point in the history
add eslint-prettier plugin
  • Loading branch information
anshumanv committed Jun 6, 2019
1 parent 5a28a77 commit 671abd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc.js
@@ -1,20 +1,22 @@
module.exports = {
extends: ["eslint:recommended"],
plugins: ["prettier"],
env: {
node: true,
es6: true,
jest: true
},
parserOptions: { ecmaVersion: 2017, sourceType: "module" },
rules: {
"prettier/prettier": "error",
"no-useless-escape": "off",
"quote-props": ["error", "as-needed"],
"no-dupe-keys": "error",
quotes: ["error", "double"],
"no-undef": "error",
"no-extra-semi": "error",
semi: "error",
"no-template-curly-in-string": "error",
"no-tempate-curly-in-string": "error",

This comment has been minimized.

Copy link
@anshumanv

anshumanv Jun 7, 2019

Author Member

Hi thanks for cross-checking, it was fixed here - a4597dd

"no-caller": "error",
yoda: "error",
eqeqeq: "error",
Expand Down

0 comments on commit 671abd5

Please sign in to comment.