diff --git a/.cflintrc b/.cflintrc new file mode 100644 index 000000000..61bf42d00 --- /dev/null +++ b/.cflintrc @@ -0,0 +1,14 @@ +{ + "rule": [], + "excludes": [ + {"code": "UNQUOTED_STRUCT_KEY"}, + {"code": "STRUCT_ARRAY_NOTATION"}, + {"code": "VAR_TOO_SHORT"}, + {"code": "VAR_TOO_LONG"}, + {"code": "GLOBAL_VAR"}, + {"code": "VAR_INVALID_NAME"} + ], + "includes": [], + "inheritParent": false, + "parameters": {} +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index ff9f306c5..78187df68 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,18 @@ server-*.json server.json *.sublime-workspace *.sublime-project -/.vscode .env assets/img/opengraph/ +.DS_Store + +# Recommended settings for VSCode at https://www.gitignore.io/api/visualstudiocode +### VisualStudioCode ### +.vscode/**/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +### VisualStudioCode Patch ### +# Ignore all local history of files +**/.history diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..1b716ddc8 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,11 @@ +# Project related files +.DS_Store +.thumbs.db + +# Editor directories and files +.vscode +.idea +*.suo +*.ntvs* +*.njsproj +*.sln \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 000000000..21dbcbf72 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,17 @@ +{ + "arrowParens": "avoid", + "bracketSpacing": true, + "htmlWhitespaceSensitivity": "css", + "insertPragma": false, + "jsxBracketSameLine": false, + "jsxSingleQuote": false, + "parser": "json", + "printWidth": 80, + "proseWrap": "preserve", + "requirePragma": false, + "semi": true, + "singleQuote": false, + "tabWidth": 4, + "trailingComma": "none", + "useTabs": true + } \ No newline at end of file