Skip to content
Myr

chore: format JSON, YAML, and Markdown (#4310)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by GitHub · parent 65764d5 · Browse files · 26 files+77 added−146 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

26 files+77 added−146 removed

  • tests:+1 added−1 removed
  • other:+76 added−145 removed

26 files+77 added−146 removed

modified:.devcontainer/devcontainer.json+16 added-24 removed
modified:.vscode/settings.json+2 added-7 removed
modified:benchmarks/deno/.vscode/settings.json+2 added-7 removed
modified:benchmarks/handle-event/package.json+1 added-1 removed
modified:benchmarks/jsx/src/react-jsx/tsconfig.json+2 added-2 removed
modified:benchmarks/jsx/tsconfig.json+2 added-2 removed
modified:benchmarks/routers/package.json+1 added-1 removed
modified:benchmarks/routers/tsconfig.json+2 added-4 removed
modified:benchmarks/routers-deno/.vscode/settings.json+2 added-7 removed
1{2 "eslint.validate": [3 "javascript",4 "javascriptreact",5 "typescript",6 "typescriptreact"7 ],2 "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],3 "editor.codeActionsOnSave": {4 "source.fixAll.eslint": true5 },6 "deno.enable": true12}7}
modified:benchmarks/routers-deno/deno.json+1 added-1 removed
1{2 "imports": {3 "npm/": "https://unpkg.com/"4 }5}5}
modified:benchmarks/utils/package.json+1 added-1 removed
1 unmodified line
2 "type": "module",3 "devDependencies": {4 "mitata": "^0.1.11"5 }6}6}
modified:docs/CODE_OF_CONDUCT.md+11 added-11 removed
15 unmodified lines
1617Examples of behavior that contributes to a positive environment for our18community include:1920* Demonstrating empathy and kindness toward other people21* Being respectful of differing opinions, viewpoints, and experiences22* Giving and gracefully accepting constructive feedback23* Accepting responsibility and apologizing to those affected by our mistakes,20- Demonstrating empathy and kindness toward other people21- Being respectful of differing opinions, viewpoints, and experiences22- Giving and gracefully accepting constructive feedback23- Accepting responsibility and apologizing to those affected by our mistakes,24 and learning from the experience25* Focusing on what is best not just for us as individuals, but for the25- Focusing on what is best not just for us as individuals, but for the26 overall community2728Examples of unacceptable behavior include:2930* The use of sexualized language or imagery, and sexual attention or30- The use of sexualized language or imagery, and sexual attention or31 advances of any kind32* Trolling, insulting or derogatory comments, and personal or political attacks33* Public or private harassment34* Publishing others' private information, such as a physical or email32- Trolling, insulting or derogatory comments, and personal or political attacks33- Public or private harassment34- Publishing others' private information, such as a physical or email35 address, without their explicit permission36* Other conduct which could reasonably be considered inappropriate in a36- Other conduct which could reasonably be considered inappropriate in a37 professional setting3839## Enforcement Responsibilities40
64 unmodified lines
105106### 4. Permanent Ban107108**Community Impact**: Demonstrating a pattern of violation of community109standards, including sustained inappropriate behavior, harassment of an109standards, including sustained inappropriate behavior, harassment of an110individual, or aggression toward or disparagement of classes of individuals.111112**Consequence**: A permanent ban from any sort of public interaction within113the community.
15 unmodified lines
modified:perf-measures/type-check/tsconfig.build.json+5 added-5 removed
1{2 "extends": "../tsconfig.json",3 "include": ["client.ts"],4 "compilerOptions": {5 "skipLibCheck": true6 }2 "extends": "../tsconfig.json",3 "include": ["client.ts"],4 "compilerOptions": {5 "skipLibCheck": true6 }7}
modified:perf-measures/.octocov.consolidated.perf-measures.main.yml+2 added-2 removed
1locale: "en"1locale: 'en'2repository: ${GITHUB_REPOSITORY}/perf-measures3coverage:4 if: false5codeToTestRatio:
12 unmodified lines
18 key: speed-check19 diagnostics-tsc:20 key: diagnostics-tsc21 diagnostics-typescript-go:22 key: diagnostics-typescript-go22 key: diagnostics-typescript-go
modified:perf-measures/.octocov.consolidated.perf-measures.yml+2 added-2 removed
1locale: "en"1locale: 'en'2repository: ${GITHUB_REPOSITORY}/perf-measures3coverage:4 if: false5codeToTestRatio:
12 unmodified lines
18 key: bundle-size-check19 diagnostics-tsc:20 key: diagnostics-tsc21 diagnostics-typescript-go:22 key: diagnostics-typescript-go22 key: diagnostics-typescript-go
modified:perf-measures/tsconfig.json+1 added-4 removed
4 unmodified lines
5 "noEmit": true,6 "rootDir": "..",7 "strict": true8 },9 "include": [10 "**/*.ts",11 "**/*.tsx"12 ]9 "include": ["**/*.ts", "**/*.tsx"]10}
modified:runtime-tests/deno/deno.json+3 added-9 removed
1{2 "compilerOptions": {3 "jsx": "react-jsx",4 "jsxImportSource": "hono/jsx",5 "lib": [6 "deno.ns",7 "dom",8 "dom.iterable"9 ]5 "lib": ["deno.ns", "dom", "dom.iterable"]6 },11 "unstable": [12 "sloppy-imports"13 ],7 "unstable": ["sloppy-imports"],8 "imports": {9 "@std/assert": "jsr:@std/assert@^1.0.3",10 "@std/path": "jsr:@std/path@^1.0.3",11 "@std/testing": "jsr:@std/testing@^1.0.1",12 "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"13 }20}14}
modified:runtime-tests/deno-jsx/deno.precompile.json+3 added-9 removed
1{2 "compilerOptions": {3 "jsx": "precompile",4 "jsxImportSource": "hono/jsx",5 "lib": [6 "deno.ns",7 "dom",8 "dom.iterable"9 ]5 "lib": ["deno.ns", "dom", "dom.iterable"]6 },11 "unstable": [12 "sloppy-imports"13 ],7 "unstable": ["sloppy-imports"],8 "imports": {9 "@std/assert": "jsr:@std/assert@^1.0.3",10 "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"11 }18}12}
modified:runtime-tests/deno-jsx/deno.react-jsx.json+3 added-9 removed
1{2 "compilerOptions": {3 "jsx": "react-jsx",4 "jsxImportSource": "hono/jsx",5 "lib": [6 "deno.ns",7 "dom",8 "dom.iterable"9 ]5 "lib": ["deno.ns", "dom", "dom.iterable"]6 },11 "unstable": [12 "sloppy-imports"13 ],7 "unstable": ["sloppy-imports"],8 "imports": {9 "@std/assert": "jsr:@std/assert@^1.0.3",10 "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"11 }18}12}
modified:runtime-tests/tsconfig.json+2 added-5 removed
1{2 "extends": "../tsconfig.json",3 "include": [4 "**/*.ts",5 "**/*.tsx"6 ]7}3 "include": ["**/*.ts", "**/*.tsx"]4}
modified:src/middleware/jwk/keys.test.json+1 added-1 removed
43 unmodified lines
44 "q": "x0UidqgkzWPqXa7vZ5noYTY5e3TDQZ_l8A26lFDKAbB62lXvnp_MhnQYDAx9VgUGYYrXv7UmaH-ZCSzuMM9Uhuw0lXRyojF-TLowNjASMlWbkJsJus3zi_AI4pAKyYnhNADxZrT1kxseI8zHiq0_bQa8qLaleXBTdkpc3Z6M1Q8",45 "qi": "x5VJcfnlX9ZhH6eMKx27rOGQrPjQ4BjZgmND7rrX-CSrE0M0RG4KuC4ZOu5XpQ-YsOC_bIzolBN2cHGn4ttPXeUc3y5bnqJYo7FxMdGn4gPRbXlVjCrE54JH_cdkl8cDqcaybjme1-ilNu-vHJWgHPdpbOguhRpicARkptAkOe0"46 }47 ]48}48}
modified:.gitpod.yml+1 added-1 removed
1tasks:2 - name: Setup2 - name: Setup3 init: bun install --no-save4image:5 file: ./.devcontainer/Dockerfile6vscode:
3 unmodified lines
modified:jsr.json+4 added-18 removed
1{2 "name": "@hono/hono",3 "version": "0.0.0",4 "compilerOptions": {5 "lib": [6 "dom",7 "dom.iterable",8 "deno.ns"9 ]5 "lib": ["dom", "dom.iterable", "deno.ns"]6 },11 "unstable": [12 "sloppy-imports"13 ],7 "unstable": ["sloppy-imports"],8 "exports": {9 ".": "./src/index.ts",10 "./request": "./src/request.ts",11 "./types": "./src/types.ts",
92 unmodified lines
104 "./utils/url": "./src/utils/url.ts",105 "./utils/ipaddr": "./src/utils/ipaddr.ts"106 },107 "publish": {114 "include": [115 "jsr.json",116 "LICENSE",117 "README.md",118 "src/**/*.ts"119 ],120 "exclude": [121 "src/**/*.test.ts",122 "src/**/*.test.tsx"123 ]108 "include": ["jsr.json", "LICENSE", "README.md", "src/**/*.ts"],109 "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]110 }111}
modified:package.cjs.json+1 added-1 removed
1{2 "type": "commonjs"3}3}
modified:tsconfig.build.json+3 added-6 removed
3 unmodified lines
4 "module": "ES2020",5 "rootDir": "./src/",6 "outDir": "./dist/types/",7 "noUnusedLocals": true,8 "noUnusedParameters": true,8 "noUnusedParameters": true9 },10 "include": [11 "src/**/*.ts",12 "src/**/*.mts"13 ],10 "include": ["src/**/*.ts", "src/**/*.mts"],11 "exclude": [12 "src/mod.ts",13 "src/helper.ts",14 "src/middleware.ts",
1 unmodified line
16 "src/test-utils/*.ts",17 "src/**/*.test.ts",18 "src/**/*.test.tsx"19 ]23}20}
modified:tsconfig.json+3 added-6 removed
8 unmodified lines
9 "strict": true,10 "skipLibCheck": false,11 "noUnusedLocals": false,12 "noUnusedParameters": false,13 "types": [14 "node",15 "vitest/globals"16 ],13 "types": ["node", "vitest/globals"],14 "jsx": "react",15 "jsxFactory": "jsx",19 "jsxFragmentFactory": "Fragment",16 "jsxFragmentFactory": "Fragment"17 },18 "include": [19 "src/**/*.ts",20 "src/**/*.d.ts",21 "src/**/*.mts",22 "src/**/*.test.ts",23 "src/**/*.test.tsx"27 ],24 ]25}