-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b689550
commit 5223be2
Showing
65 changed files
with
3,789 additions
and
2,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
This File is part of ArunaBot | ||
Copyright (C) LoboMetalurgico (and contributors) 2019-2020 | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as | ||
published by the Free Software Foundation, either version 3 of the | ||
License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
module.exports = { | ||
configs: require('./general.js'), | ||
config: require('./general.js'), | ||
links: require('./links.js'), | ||
database: require('./mongoose.js'), | ||
db: require('./mongoose.js') | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.Config | ||
Config/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"env": { | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"globals": {}, | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"array-bracket-spacing": [ | ||
"warn", | ||
"never" | ||
], | ||
"computed-property-spacing": "warn", | ||
"indent": [ | ||
"warn", | ||
2 | ||
], | ||
"keyword-spacing": [ | ||
"warn", | ||
{ | ||
"before": true, | ||
"after": true | ||
} | ||
], | ||
"max-len": [ | ||
"warn", | ||
{ | ||
"code": 160, | ||
"ignoreComments": true, | ||
"ignoreUrls": true | ||
} | ||
], | ||
"no-cond-assign": [ | ||
2, | ||
"except-parens" | ||
], | ||
"no-use-before-define": [ | ||
2, | ||
{ | ||
"functions": false, | ||
"classes": false, | ||
"variables": false | ||
} | ||
], | ||
"new-cap": 0, | ||
"no-caller": 2, | ||
"no-undef": 2, | ||
"no-unused-vars": 1, | ||
"no-empty": [ | ||
"error", | ||
{ | ||
"allowEmptyCatch": true | ||
} | ||
], | ||
"no-console": "off", | ||
"no-multi-spaces": "warn", | ||
"prefer-const": [ | ||
"warn", | ||
{ | ||
"destructuring": "all" | ||
} | ||
], | ||
"quotes": [ | ||
"warn", | ||
"single" | ||
], | ||
"semi": [ | ||
"warn", | ||
"always" | ||
], | ||
"spaced-comment": "warn", | ||
"space-infix-ops": "warn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: ESLint | ||
on: | ||
push: | ||
paths: | ||
- "src/**" | ||
- ".eslintrc.*" | ||
- ".github/workflows/eslint.yml" | ||
|
||
jobs: | ||
update: | ||
name: ESLint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Install Node v12 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- name: Install PNPM | ||
run: curl -L https://unpkg.com/@pnpm/self-installer | node | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Run ESLint | ||
run: npm run eslint:fix | ||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v4 | ||
with: | ||
add: src | ||
message: "chore(lint): Auto-fix linting errors" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.env | ||
configs/ | ||
Configs/ | ||
node_modules/ | ||
_main.js | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
Oops, something went wrong.