diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..a8dfa3ee --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +[*] +charset = utf-8 +insert_final_newline = true +end_of_line = lf +indent_style = space +indent_size = 4 diff --git a/.eslintrc.json b/.eslintrc.json index 695c05dd..bd3e3f3a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -105,6 +105,17 @@ { "prevent": true } + ], + "react/jsx-sort-props": [ + "error", + { + "callbacksLast": true, + "shorthandFirst": true, + "shorthandLast": false, + "ignoreCase": true, + "noSortAlphabetically": false, + "reservedFirst": true + } ] } } diff --git a/.vscode/settings.json b/.vscode/settings.json index ba397879..ad273d94 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,9 +8,9 @@ "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit", "source.fixAll.sortJSON": "never", - "source.organizeImports": "explicit" + "source.organizeImports": "always" }, - "editor.formatOnSave": false, + "editor.formatOnSave": true, "git.ignoreLimitWarning": true, "files.eol": "\n", "files.insertFinalNewline": true, @@ -27,6 +27,15 @@ } ], "javascript.format.enable": false, - "thunder-client.saveToWorkspace": false, - "thunder-client.workspaceRelativePath": "." + "editor.linkedEditing": false, + "tailwindCSS.includeLanguages": { + "html": "html", + "javascript": "javascript", + "css": "css" + }, + "tailwindCSS.experimental.classRegex": [ + ], + "editor.quickSuggestions": { + "strings": true + } } diff --git a/index.html b/index.html index 18b1a792..76d642b0 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@
- +