Skip to content

Commit

Permalink
refactor: switch to tab indentation rather than spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Jun 28, 2022
1 parent 61c31a9 commit aff2f3a
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 42 deletions.
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
}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"no-mixed-spaces-and-tabs": [
"error",
"smart-tabs"
]
}
}
Expand Down

0 comments on commit aff2f3a

Please sign in to comment.