Skip to content

Commit ac11bdc

Browse files
style: prettier formatting (TanStack#647)
Co-authored-by: Tanner Linsley <[email protected]>
1 parent 54d549e commit ac11bdc

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Diff for: README.md

-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ This library is being built and maintained by me, @tannerlinsley and I am always
209209
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
210210
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
211211

212-
213212
- [Installation](#installation)
214213
- [Defaults to keep in mind](#defaults-to-keep-in-mind)
215214
- [Quick Start](#quick-start)

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prepublishOnly": "yarn test:ci && yarn formatReadme",
2323
"release": "yarn publish",
2424
"releaseNext": "yarn publish --tag next",
25-
"format": "prettier {src,src/**,example/src,example/src/**}/*.{md,js,jsx,tsx} --write",
25+
"format": "prettier {.,src,src/**,example/src,example/src/**}/*.{md,js,jsx,tsx,json} --write",
2626
"formatReadme": "yarn doctoc",
2727
"doctoc": "npx doctoc --maxlevel 2 README.md",
2828
"jump2header": "npx @strdr4605/jump2header --header 'documentation' --start 'Installation' -e 2 --silent -l 2",

Diff for: prettier.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ module.exports = {
44
useTabs: false,
55
semi: false,
66
singleQuote: true,
7-
trailingComma: "es5",
7+
trailingComma: 'es5',
88
bracketSpacing: true,
99
jsxBracketSameLine: false,
10-
arrowParens: "avoid",
11-
endOfLine: "auto"
12-
};
10+
arrowParens: 'avoid',
11+
endOfLine: 'auto',
12+
}

0 commit comments

Comments
 (0)