Skip to content

Commit f59c715

Browse files
authored
Setup .prettierignore; reformatted all files with Prettier (#477)
1 parent be00e8f commit f59c715

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.prettierignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Coverage directory used by tools like istanbul
2+
coverage
3+
4+
# production
5+
/lib

.prettierrc.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,11 @@
1818
"importOrderSortIndividualImports": true,
1919
"importOrderMergeDuplicateImports": true,
2020
"importOrderBuiltinModulesToTop": true,
21-
"importOrderTypeImportsToTop": true
21+
"importOrderTypeImportsToTop": true,
22+
"overrides": [
23+
{
24+
"files": "src/*.js",
25+
"options": { "parser": "babel-flow" }
26+
}
27+
]
2228
}

index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
import Storage from './lib/Storage';
2+
23
export default Storage;

0 commit comments

Comments
 (0)