mozilla / nimbus-shared

Shared data and schemas for Project Nimbus
https://mozilla.github.io/nimbus-shared
Mozilla Public License 2.0
6 stars 15 forks source link

Set up prettier #67

Closed mythmon closed 4 years ago

mythmon commented 4 years ago

Fixes #74.

mythmon commented 4 years ago

Formatting changes tend to bitrot quickly, since they touch all the files. I'd like to get this merged sooner rather than later.

k88hudson commented 4 years ago

@mythmon looks good, thanks for the explanation – just testing this locally

k88hudson commented 4 years ago

@mythmon Prettier seems to be running on cached files in docs/.next/, do you need to add some additional ignores or something?

k88hudson commented 4 years ago

STR:

  1. Run make docs
  2. Run make lint

I get this output:

docs/.next/static/UKB0xsFe8Rhzy-BBro9_D/pages/usage/python.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/_buildManifest.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/_ssgManifest.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/_app.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/_error.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/content/data.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/content/schemas.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/dev/data.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/dev/docs.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/dev/schemas.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/dev/setup.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/index.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/usage/js-and-ts.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/usage/other.js
docs/.next/static/VCRNNBTR8eVsGkj9VcJ2Z/pages/usage/python.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/_buildManifest.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/_ssgManifest.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/_app.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/_error.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/content/data.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/content/schemas.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/dev/data.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/dev/docs.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/dev/schemas.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/dev/setup.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/index.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/usage/js-and-ts.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/usage/other.js
docs/.next/static/vopxy6GobZ0nR9fQndvbf/pages/usage/python.js
docs/components/PrefixLink.tsx
Code style issues found in the above file(s). Forgot to run Prettier?
make: *** [lint] Error 1