Skip to content

Commit 604311f

Browse files
committed
Setup eslint-config-prettier
1 parent 76e1801 commit 604311f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"dotenv": "8.2.0",
5050
"dotenv-expand": "5.1.0",
5151
"eslint": "^6.6.0",
52+
"eslint-config-prettier": "^6.7.0",
5253
"eslint-config-react-app": "^5.1.0",
5354
"eslint-loader": "3.0.2",
5455
"eslint-plugin-flowtype": "3.13.0",
@@ -122,7 +123,7 @@
122123
"test": "node scripts/test.js"
123124
},
124125
"eslintConfig": {
125-
"extends": "react-app"
126+
"extends": ["react-app", "prettier"]
126127
},
127128
"browserslist": {
128129
"production": [

yarn.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4298,6 +4298,13 @@ escodegen@^1.11.0, escodegen@^1.9.1:
42984298
optionalDependencies:
42994299
source-map "~0.6.1"
43004300

4301+
eslint-config-prettier@^6.7.0:
4302+
version "6.7.0"
4303+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.7.0.tgz#9a876952e12df2b284adbd3440994bf1f39dfbb9"
4304+
integrity sha512-FamQVKM3jjUVwhG4hEMnbtsq7xOIDm+SY5iBPfR8gKsJoAB2IQnNF+bk1+8Fy44Nq7PPJaLvkRxILYdJWoguKQ==
4305+
dependencies:
4306+
get-stdin "^6.0.0"
4307+
43014308
eslint-config-react-app@^5.1.0:
43024309
version "5.1.0"
43034310
resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-5.1.0.tgz#a37b3f2d4f56f856f93277281ef52bd791273e63"
@@ -5091,6 +5098,11 @@ get-own-enumerable-property-symbols@^3.0.0:
50915098
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.1.tgz#6f7764f88ea11e0b514bd9bd860a132259992ca4"
50925099
integrity sha512-09/VS4iek66Dh2bctjRkowueRJbY1JDGR1L/zRxO1Qk8Uxs6PnqaNSqalpizPT+CDjre3hnEsuzvhgomz9qYrA==
50935100

5101+
get-stdin@^6.0.0:
5102+
version "6.0.0"
5103+
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
5104+
integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==
5105+
50945106
get-stream@^4.0.0:
50955107
version "4.1.0"
50965108
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"

0 commit comments

Comments
 (0)