Commit d2b92ff 1 parent 2e32b8c commit d2b92ff Copy full SHA for d2b92ff
File tree 5 files changed +31
-5
lines changed
5 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 127
127
"eslint" : " 5.1.0" ,
128
128
"eslint-config-fb-strict" : " 24.3.0" ,
129
129
"eslint-config-fbjs" : " 2.1.0" ,
130
+ "eslint-config-prettier" : " ^6.0.0" ,
130
131
"eslint-plugin-babel" : " ^5.3.0" ,
131
132
"eslint-plugin-eslint-comments" : " ^3.1.1" ,
132
133
"eslint-plugin-flowtype" : " 2.50.3" ,
Original file line number Diff line number Diff line change @@ -16,9 +16,13 @@ module.exports = {
16
16
sourceType : 'module' ,
17
17
} ,
18
18
19
+ extends : [
20
+ 'plugin:prettier/recommended' , // https://github.com/prettier/eslint-plugin-prettier#recommended-configuration
21
+ 'prettier/react' ,
22
+ ] ,
23
+
19
24
plugins : [
20
25
'eslint-comments' ,
21
- 'prettier' ,
22
26
'react' ,
23
27
'react-hooks' ,
24
28
'react-native' ,
@@ -219,10 +223,6 @@ module.exports = {
219
223
'eslint-comments/no-unused-disable' : 1 , // disallow disables that don't cover any errors
220
224
'eslint-comments/no-unused-enable' : 1 , // // disallow enables that don't enable anything or enable rules that weren't disabled
221
225
222
- // Prettier Plugin
223
- // https://github.com/prettier/eslint-plugin-prettier
224
- 'prettier/prettier' : 2 ,
225
-
226
226
// Stylistic Issues
227
227
// These rules are purely matters of style and are quite subjective.
228
228
Original file line number Diff line number Diff line change 11
11
"@typescript-eslint/eslint-plugin" : " ^1.5.0" ,
12
12
"@typescript-eslint/parser" : " ^1.5.0" ,
13
13
"babel-eslint" : " 10.0.1" ,
14
+ "eslint-config-prettier" : " ^6.0.0" ,
14
15
"eslint-plugin-eslint-comments" : " ^3.1.1" ,
15
16
"eslint-plugin-flowtype" : " 2.50.3" ,
16
17
"eslint-plugin-jest" : " 22.4.1" ,
Original file line number Diff line number Diff line change @@ -327,6 +327,13 @@ escape-string-regexp@^1.0.5:
327
327
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
328
328
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
329
329
330
+ eslint-config-prettier@^6.0.0 :
331
+ version "6.0.0"
332
+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz#f429a53bde9fc7660e6353910fd996d6284d3c25"
333
+ integrity sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA==
334
+ dependencies :
335
+ get-stdin "^6.0.0"
336
+
330
337
eslint-plugin-eslint-comments@^3.1.1 :
331
338
version "3.1.1"
332
339
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.1.1.tgz#32ff0afba8a48e17073817e6d03fbc5622f735b7"
@@ -563,6 +570,11 @@ functional-red-black-tree@^1.0.1:
563
570
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
564
571
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
565
572
573
+ get-stdin@^6.0.0 :
574
+ version "6.0.0"
575
+ resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
576
+ integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==
577
+
566
578
glob@^7.1.2, glob@^7.1.3 :
567
579
version "7.1.3"
568
580
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
Original file line number Diff line number Diff line change 2635
2635
resolved "https://registry.yarnpkg.com/eslint-config-fbjs/-/eslint-config-fbjs-2.1.0.tgz#bfe4f8c2d2282bfe515359553905d830e3a5d12f"
2636
2636
integrity sha512-wh7Lveo51V3/SUydWtR2VEU8wNfSHt5V7YzIUKTRkHF3kvkCwFtM6Jgsn+xBNkjxZGpfWgNJN/drk1LLx64Dww==
2637
2637
2638
+ eslint-config-prettier@^6.0.0 :
2639
+ version "6.0.0"
2640
+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz#f429a53bde9fc7660e6353910fd996d6284d3c25"
2641
+ integrity sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA==
2642
+ dependencies :
2643
+ get-stdin "^6.0.0"
2644
+
2638
2645
eslint-plugin-babel@^5.3.0 :
2639
2646
version "5.3.0"
2640
2647
resolved "https://registry.yarnpkg.com/eslint-plugin-babel/-/eslint-plugin-babel-5.3.0.tgz#2e7f251ccc249326da760c1a4c948a91c32d0023"
@@ -3288,6 +3295,11 @@ get-port@^2.1.0:
3288
3295
dependencies :
3289
3296
pinkie-promise "^2.0.0"
3290
3297
3298
+ get-stdin@^6.0.0 :
3299
+ version "6.0.0"
3300
+ resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
3301
+ integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==
3302
+
3291
3303
get-stream@^3.0.0 :
3292
3304
version "3.0.0"
3293
3305
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"
You can’t perform that action at this time.
0 commit comments