Last active
April 6, 2022 04:08
-
-
Save michaelfortunato/d122bcc180c6ed0b8148f8db8b7f3753 to your computer and use it in GitHub Desktop.
Configuration for prettier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
**/.next/** | |
**/_next/** | |
**/dist/** | |
packages/next/bundles/webpack/packages/*.runtime.js | |
packages/next/compiled/** | |
packages/react-refresh-utils/**/*.js | |
packages/react-refresh-utils/**/*.d.ts | |
packages/react-dev-overlay/lib/** | |
**/__tmp__/** | |
lerna.json | |
.github/actions/next-stats-action/.work | |
packages/next/build/swc/tests/**/* | |
packages/next-codemod/transforms/__testfixtures__/**/* | |
packages/next-codemod/transforms/__tests__/**/* | |
packages/next-codemod/**/*.js | |
packages/next-codemod/**/*.d.ts | |
packages/next-env/**/*.d.ts | |
test-timings.json | |
test/**/out/** | |
bench/nested-deps/pages/**/* | |
bench/nested-deps/components/**/* | |
# ignore all assets | |
**/public/** | |
# Ignore all yaml files | |
*.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arrowParens: "avoid" | |
trailingComma: "none" | |
tabWidth: 2 | |
useTabs: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save-dev prettier | |
# in source code folder | |
npx prettier --write . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment