Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run prettier on everything #12653

Merged
merged 9 commits into from Apr 12, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .eslintignore
@@ -1,14 +1,16 @@
!.*
**/coverage/**
**/node_modules/**
bin/
flow-typed/**
fisker marked this conversation as resolved.
Show resolved Hide resolved
packages/*/build/**
packages/*/dist/**
packages/jest-diff/src/cleanupSemantic.ts
website/.docusaurus
website/blog
website/build
website/node_modules
website/i18n/*.js
website/static
!.eslintrc.js

# Third-party script
packages/jest-diff/src/cleanupSemantic.ts
14 changes: 14 additions & 0 deletions .prettierignore
@@ -1,11 +1,25 @@
.idea
.DS_STORE
.eslintcache
*.swp
*~
api-extractor.json
coverage

/packages/*/build
/packages/jest-config/src/__tests__/jest-preset.json
/packages/pretty-format/perf/world.geo.json

# Breaks tests
/e2e/coverage-handlebars/greet.hbs

# Third-party script
packages/jest-diff/src/cleanupSemantic.ts

/website/.docusaurus
/website/backers.json
/website/build
/website/versions.json

**/.yarn
**/.pnp.*
2 changes: 1 addition & 1 deletion examples/angular/.babelrc.js
Expand Up @@ -19,5 +19,5 @@ module.exports = {
},
],
'@babel/preset-typescript',
]
],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the biggest diff in the end 😀

};
2 changes: 1 addition & 1 deletion examples/react-native/.watchmanconfig
@@ -1 +1 @@
{}
{}
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -100,8 +100,8 @@
"jest-jasmine-ci": "yarn jest-jasmine --color --config jest.config.ci.js",
"jest-coverage": "yarn jest --coverage",
"lint": "eslint . --cache --ext js,jsx,cjs,mjs,ts,tsx,md",
"lint:prettier": "prettier '**/*.{json,md,yml,yaml}' 'website/**/*.{css,js}' --write",
"lint:prettier:ci": "prettier '**/*.{json,md,yml,yaml}' 'website/**/*.{css,js}' --check",
"lint:prettier": "prettier . \"!**/*.{js,jsx,cjs,mjs,ts,tsx,md}\" --write",
fisker marked this conversation as resolved.
Show resolved Hide resolved
"lint:prettier:ci": "prettier . \"!**/*.{js,jsx,cjs,mjs,ts,tsx,md}\" --check",
"remove-examples": "node ./scripts/remove-examples.mjs",
"test-types": "yarn jest --config jest.config.tsd.js",
"test-ci-partial": "yarn test-ci-partial:parallel -i",
Expand Down