Skip to content

Commit 639cab1

Browse files
committed
fix: move prettier config to package.json
1 parent ecb1a23 commit 639cab1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

templates/library/$.prettierrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

templates/library/$package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@
7676
}
7777
},
7878
"eslintIgnore": ["node_modules/", "lib/"],
79+
"prettier": {
80+
"singleQuote": true,
81+
"tabWidth": 2,
82+
"trailingComma": "es5",
83+
"useTabs": false
84+
},
7985
"@react-native-community/bob": {
8086
"source": "src",
8187
"output": "lib",

0 commit comments

Comments
 (0)