Skip to content

Commit

Permalink
feat: add editor tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jcwillox committed Dec 10, 2023
0 parents commit e2171ff
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# normalise line endings to lf on all platforms
* text=auto eol=lf
46 changes: 46 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# compiled output
dist/
node_modules/
build/
/out/

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# local env files
.env*.local

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Misc
.eslintcache
.turbo
.build_cache
temp
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/
coverage/
pnpm-lock.yaml
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"recommendations": [
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"christian-kohler.path-intellisense",
"esbenp.prettier-vscode",
"redhat.vscode-yaml"
]
}
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"editor.formatOnSave": true,
"editor.linkedEditing": true,
"editor.renderWhitespace": "trailing",
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"files.associations": {
"**/.github/workflows/*.yaml": "github-actions-workflow"
},
"[javascript][javascriptreact][typescript][typescriptreact][json][jsonc][yaml][html][markdown][postcss][css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}

0 comments on commit e2171ff

Please sign in to comment.