Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finished Rewrite #4

Merged
merged 24 commits into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
APPLICATION_ID=appIdHere
PUBLIC_KEY=publicKeyHere
BOT_TOKEN=botTokenHere
ATHENA_API_KEY=apiKeyHere
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
70 changes: 70 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"comma-spacing": ["error", { "before": false, "after": true }],
"object-curly-spacing": ["error", "always"],
"block-spacing": "error",
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"react/prop-types": 0,
"react/no-unescaped-entities": 0,
"space-infix-ops": [
"error"
],
"vars-on-top": "warn",
"no-unused-expressions": "warn",
"eqeqeq": "warn",
"default-case": "error",
"max-classes-per-file": "error",
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"object-shorthand": "error",
"eol-last": ["error", "always"],
"prefer-const": [
"error",
{
"destructuring": "all",
"ignoreReadBeforeAssign": false
}
],
"keyword-spacing": [
"error",
{
"before": true,
"after": true
}
],
"space-before-blocks":"error",
"curly": ["error", "all"],
"brace-style": 2
}
}
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ typings/
# dotenv environment variables file
.env

# build folder
dist/

# next.js build output
.next

# Don't reveal our secrets!
src/config.json
package-lock.json
.idea
14 changes: 0 additions & 14 deletions .vscode/launch.json

This file was deleted.

Loading