Skip to content

Commit

Permalink
chore: make eslint to use prettier
Browse files Browse the repository at this point in the history
Remove default eslint config since prettier plugin is used
for linting rules.
  • Loading branch information
vipranarayan14 committed May 14, 2020
1 parent b8a9a46 commit 39cc7e5
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 129 deletions.
9 changes: 3 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"env": {
"browser": true,
"mocha": true
},
"parserOptions": {
"sourceType": "module"
"sourceType": "module",
"ecmaVersion": 2015
},
"extends": "./default.eslintrc"
"extends": ["plugin:prettier/recommended"]
}
123 changes: 0 additions & 123 deletions default.eslintrc

This file was deleted.

45 changes: 45 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@
"babel-loader": "8.1.0",
"chai": "4.2.0",
"eslint": "7.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.3",
"husky": "4.2.5",
"mocha": "7.1.2",
"prettier": "2.0.5",
"rimraf": "3.0.2",
"webpack": "4.43.0",
"webpack-cli": "3.3.11"
Expand Down

0 comments on commit 39cc7e5

Please sign in to comment.