Skip to content

Commit

Permalink
refactor: switch to tab indentation rather than spaces (#1309)
Browse files Browse the repository at this point in the history
* refactor: switch to tab indentation rather than spaces
* chore: update to latest prettier
* style: update files to new tab indentation
* style: convert all source code indentation to tabs

Fixes #1298
  • Loading branch information
petebacondarwin committed Jun 28, 2022
1 parent 61c31a9 commit e5a6aca
Show file tree
Hide file tree
Showing 164 changed files with 32,657 additions and 32,637 deletions.
22 changes: 11 additions & 11 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.6.2/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "cloudflare/wrangler2" }
],
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"$schema": "https://unpkg.com/@changesets/config@1.6.2/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "cloudflare/wrangler2" }
],
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
7 changes: 7 additions & 0 deletions .changeset/shiny-brooms-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wrangler": patch
---

style: convert all source code indentation to tabs

Fixes #1298
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://editorconfig.org
root = true

[*]
end_of_line = lf
indent_style = tab
tab_width = 2
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"printWidth": 80,
"singleQuote": false,
"semi": true
"semi": true,
"useTabs": true
}
83 changes: 42 additions & 41 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,44 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"cSpell.words": [
"cfetch",
"clipboardy",
"cloudflared",
"Codespaces",
"esbuild",
"eslintcache",
"execa",
"iarna",
"keyvalue",
"middlewares",
"Miniflare",
"mrbbot",
"outdir",
"outfile",
"pgrep",
"PKCE",
"Positionals",
"scandir",
"selfsigned",
"textfile",
"tsbuildinfo",
"undici",
"Untriaged",
"wasmvalue",
"weakmap",
"weakset",
"webassemblymemory",
"websockets",
"xxhash"
],
"cSpell.ignoreWords": [
"TESTTEXTBLOBNAME",
"TESTWASMNAME",
"extensionless",
"yxxx"
],
"eslint.runtime": "node",
"files.trimTrailingWhitespace": true,
"typescript.tsdk": "node_modules/typescript/lib"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"cSpell.words": [
"cfetch",
"clipboardy",
"cloudflared",
"Codespaces",
"esbuild",
"eslintcache",
"execa",
"iarna",
"keyvalue",
"middlewares",
"Miniflare",
"mrbbot",
"outdir",
"outfile",
"pgrep",
"PKCE",
"Positionals",
"scandir",
"selfsigned",
"textfile",
"tsbuildinfo",
"undici",
"Untriaged",
"wasmvalue",
"weakmap",
"weakset",
"webassemblymemory",
"websockets",
"xxhash"
],
"cSpell.ignoreWords": [
"TESTTEXTBLOBNAME",
"TESTWASMNAME",
"extensionless",
"yxxx"
],
"eslint.runtime": "node",
"files.trimTrailingWhitespace": true,
"typescript.tsdk": "node_modules/typescript/lib",
"editor.tabSize": 2
}
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e5a6aca

Please sign in to comment.