commit 05c4bae65d6b04070ff70ef994bbbc0d6dc4ba37 Author: Mari Date: Wed Nov 30 19:17:08 2022 -0500 Steppies project start diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3c44241 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..62f0b52 --- /dev/null +++ b/.env.example @@ -0,0 +1,6 @@ +DISCORD_APP_ID= +DISCORD_PUBLIC_KEY= +DISCORD_BOT_TOKEN= + +# You can fill this in for development.env +DEVELOPMENT_GUILD_ID= diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..8049cd2 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,46 @@ +module.exports = { + env: { + commonjs: true, + es6: true, + browser: true + }, + extends: ['eslint:recommended', 'plugin:prettier/recommended'], + globals: { + DISCORD_APP_ID: true, + DISCORD_PUBLIC_KEY: true, + DISCORD_BOT_TOKEN: true + }, + parser: '@typescript-eslint/parser', + parserOptions: { + ecmaVersion: 6, + sourceType: 'module' + }, + plugins: ['@typescript-eslint'], + rules: { + 'prettier/prettier': 'warn', + 'no-cond-assign': [2, 'except-parens'], + 'no-unused-vars': 0, + '@typescript-eslint/no-unused-vars': 1, + 'no-empty': [ + 'error', + { + allowEmptyCatch: true + } + ], + 'prefer-const': [ + 'warn', + { + destructuring: 'all' + } + ], + 'spaced-comment': 'warn' + }, + overrides: [ + { + files: ['slash-up.config.js', 'webpack.config.js'], + env: { + node: true + } + } + ] +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cc9165c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +/coverage +/dist +/node_modules +wrangler.toml +/.vscode/settings.json +*.log +*.env +.dev.vars diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..cb106f8 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000..727b8b5 --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..864d98f --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +