-
Notifications
You must be signed in to change notification settings - Fork 466
build: switch from prettier to 11x faster oxfmt 🚀 #8382
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "$schema": "./node_modules/oxfmt/configuration_schema.json", | ||
| "semi": false, | ||
| "singleQuote": true, | ||
| "printWidth": 120, | ||
| "proseWrap": "always", | ||
| "trailingComma": "all", | ||
|
Comment on lines
+3
to
+7
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would be nice to just use defaults, but this matches our Netlify code style |
||
| "sortPackageJson": false, | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could turn this one later 😁. I didn't wanna touch too many things here. |
||
| "ignorePatterns": ["node_modules", "CHANGELOG.md", "docs/**", "**/package-lock.json"] | ||
| } | ||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| import type { Config } from "@netlify/functions" | ||
| import type { Config } from '@netlify/functions' | ||
|
|
||
| export default async (req: Request) => { | ||
| const { next_run } = await req.json() | ||
| const { next_run } = await req.json() | ||
|
|
||
| console.log("Received event! Next invocation at:", next_run) | ||
| console.log('Received event! Next invocation at:', next_run) | ||
| } | ||
|
|
||
| export const config: Config = { | ||
| schedule: "@hourly" | ||
| schedule: '@hourly', | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| <!DOCTYPE html> | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.