-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Prettier and made changes using it
- Loading branch information
Showing
114 changed files
with
6,515 additions
and
5,366 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,40 @@ | ||
{ | ||
"env": { | ||
"commonjs": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"google", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2021 | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"rules": { | ||
"linebreak-style": "off", | ||
"comma-dangle": [ | ||
"error", | ||
"never" | ||
], | ||
"valid-jsdoc": [ | ||
"error", | ||
{ | ||
"requireParamDescription": false, | ||
"requireReturnDescription": false, | ||
"requireReturn": true | ||
} | ||
], | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 210, | ||
"ignoreUrls": true | ||
} | ||
], | ||
"indent": [ | ||
"error", | ||
2, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"quote-props": ["error", "as-needed"], | ||
"object-curly-spacing": "off", | ||
"space-before-function-paren": "off", | ||
"semi": "error", | ||
"no-console": "error", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"no-extra-semi": "error", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"off" | ||
] | ||
} | ||
} | ||
{ | ||
"env": { | ||
"commonjs": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": ["google", "plugin:@typescript-eslint/recommended", "prettier"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2021 | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"rules": { | ||
"linebreak-style": "off", | ||
"comma-dangle": ["error", "never"], | ||
"valid-jsdoc": [ | ||
"error", | ||
{ | ||
"requireParamDescription": false, | ||
"requireReturnDescription": false, | ||
"requireReturn": true | ||
} | ||
], | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 210, | ||
"ignoreUrls": true | ||
} | ||
], | ||
"quote-props": ["error", "as-needed"], | ||
"object-curly-spacing": "off", | ||
"space-before-function-paren": "off", | ||
"semi": "error", | ||
"no-console": "error", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"no-extra-semi": "error", | ||
"@typescript-eslint/no-unused-vars": ["off"] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
**Please describe changes** | ||
|
||
*Description* | ||
_Description_ | ||
|
||
- [x] I've added new features. (methods or parameters) | ||
- [ ] I've added jsdoc and typings. | ||
- [ ] I've fixed bug. (*optional* you can mention a issue if there is one) | ||
- [ ] I've fixed bug. (_optional_ you can mention a issue if there is one) | ||
- [ ] I've corrected the spelling in README, documentation, etc. | ||
- [ ] I've tested my code. (`npm run test`) | ||
- [ ] I've tested my code. (`npm run test`) |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
commit-message: | ||
prefix: "🟨" | ||
prefix-development: "🟦" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- "dependencies" | ||
- package-ecosystem: npm | ||
directory: '/' | ||
schedule: | ||
interval: 'weekly' | ||
commit-message: | ||
prefix: '🟨' | ||
prefix-development: '🟦' | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- 'dependencies' |
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,81 @@ | ||
# This CI Workflow was deployed and configured by WarpWing and Nate. | ||
name: CI/CD (16.x) | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
env: | ||
NODE_VERSION: '16.x' | ||
|
||
jobs: | ||
es-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: es-lint | ||
run: npm run eslint | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: Run Tests | ||
run: npm test | ||
env: | ||
HYPIXEL_KEY: ${{secrets.HYPIXEL_KEY}} | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: Build | ||
run: npm run build --if-present | ||
|
||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: prettier | ||
run: npm run prettier:check |
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,81 @@ | ||
# This CI Workflow was deployed and configured by WarpWing and Nate. | ||
name: CI/CD (18.x) | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
env: | ||
NODE_VERSION: '18.x' | ||
|
||
jobs: | ||
es-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: es-lint | ||
run: npm run eslint | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: Run Tests | ||
run: npm test | ||
env: | ||
HYPIXEL_KEY: ${{secrets.HYPIXEL_KEY}} | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: Build | ||
run: npm run build --if-present | ||
|
||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Install node dependencies | ||
run: npm i | ||
|
||
- name: prettier | ||
run: npm run prettier:check |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.