Update target to ES2016, ignore .vscode, switch to 2 space tabs

This commit is contained in:
Xevion
2023-02-24 20:39:12 -06:00
parent 969a5551f8
commit b717f74e49
3 changed files with 35 additions and 24 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
vercel.json vercel.json
*.env* *.env*
.vscode
# dependencies # dependencies
/node_modules /node_modules

View File

@@ -1,4 +1,13 @@
{ {
"singleQuote": true,
"printWidth": 80,
"editor.formatOnSave": true,
"proseWrap": "always",
"tabWidth": 2, "tabWidth": 2,
"useTabs": false "requireConfig": false,
"useTabs": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"semi": true
} }

View File

@@ -1,10 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es5", "target": "ES2016",
"lib": ["dom", "dom.iterable", "esnext"], "lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"noEmit": true, "noEmit": true,
"esModuleInterop": true, "esModuleInterop": true,