Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@
# top-most EditorConfig file
root = true

[*.md]
trim_trailing_whitespace = false

[*.js]
trim_trailing_whitespace = true

# Unix-style newlines with a newline ending every file
[*]
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
end_of_line = lf
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
.idea
# IntelliJ IDEA module file
*.iml
.vscode/*
!.vscode/launch.json
!.vscode/extensions.json
*.log
*.tsbuildinfo
/.eslintcache
Expand Down
21 changes: 16 additions & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
{
"recommendations": [
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"davidanson.vscode-markdownlint",
"esbenp.prettier-vscode",
"yoavbls.pretty-ts-errors"
// Formating
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a .json file, should we remove comments?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"esbenp.prettier-vscode", // Prettier
"editorconfig.editorconfig", // EditorConfig

// Highlighting
"bradlc.vscode-tailwindcss", // Tailwind CSS
"unifiedjs.vscode-mdx", // MDX
"shardulm94.trailing-spaces", // Trailing spaces
"styled-components.vscode-styled-components", // styled()

// Lint
"dbaeumer.vscode-eslint", // ESLint
"yoavbls.pretty-ts-errors", // TypeScript
"stylelint.vscode-stylelint", // Stylelint
"davidanson.vscode-markdownlint", // markdownlint
"chrischinchilla.vale-vscode" // Vale
]
}
15 changes: 0 additions & 15 deletions .vscode/launch.json

This file was deleted.

14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.trimTrailingWhitespace": true,

// Root workspace only
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.surveys.enabled": false,
"grammarly.selectors": [
{
"language": "markdown",
"scheme": "file"
}
]
}
Loading