Skip to content

Commit

Permalink
Merge pull request #4 from Wynntils/rewrite
Browse files Browse the repository at this point in the history
Finished Rewrite
  • Loading branch information
HighCrit authored May 28, 2021
2 parents 6979999 + 77f4eda commit c5247ec
Show file tree
Hide file tree
Showing 59 changed files with 1,719 additions and 1,006 deletions.
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

0 comments on commit c5247ec

Please sign in to comment.