Commit Graph

6 Commits

Author SHA1 Message Date
Steven 4466ba436b chore(examples): use default prettier for examples/templates (#60530)
## Description
This PR ensures that the default prettier config is used for examples
and templates.

This config is compatible with `prettier@3` as well (upgrading prettier
is bigger change that can be a future PR).

## Changes
- Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will
be needed upgrading to prettier@3)
- Added `examples/.prettierrc.json` with default config (this will
change every example)
- Added `packages/create-next-app/templates/.prettierrc.json` with
default config (this will change every template)

## Related

- Fixes #54402
- Closes #54409
2024-01-11 16:01:44 -07:00
Vyacheslav Konyshev e6a6beb38d fix(examples/with-firebase-cloud-messaging): replace deprecated method (#19080) 2020-11-11 18:41:37 -05:00
Joe Haddad 86160a5190 Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
Avi Aryan 920bf76579 Fix with-firebase-cloud-messaging example setup code (#10686) 2020-03-20 10:15:45 +01:00
Joe Haddad 18a9c7e371 Improve linting rules to catch more errors (#9374)
* Update `packages/`

* Update examples

* Update tests

* Update bench

* Update top level files

* Fix build

* trigger
2019-11-10 19:24:53 -08:00
Voon Ming Hann e3c7d3fdb8 firebase cloud messaging example (#5689) 2018-11-25 16:37:34 +01:00