diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..94027c57c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig is awesome: https://editorconfig.org/ + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +insert_final_newline = true +max_line_length = 100 diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..aa647b30a --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,20 @@ +{ + "recommendations": [ + // Formating + "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 + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..9656d60e0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,13 @@ +{ + "editor.defaultFormatter": "esbenp.prettier-vscode", + "files.trimTrailingWhitespace": true, + + // Root workspace only + "typescript.surveys.enabled": false, + "grammarly.selectors": [ + { + "language": "markdown", + "scheme": "file" + } + ] +}