-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(6.2.6): 🎉
- Loading branch information
Showing
78 changed files
with
7,029 additions
and
2,699 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 |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{ | ||
"env": { | ||
"commonjs": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": ["eslint:recommended","prettier"], | ||
"parserOptions": { | ||
"ecmaVersion": 12 | ||
}, | ||
"rules": { | ||
"no-unused-vars":"warn", | ||
"no-case-declarations":"warn", | ||
"accessor-pairs": "warn", | ||
"array-callback-return": "error", | ||
"consistent-return": 0, | ||
"curly": ["error", "multi-line", "consistent"], | ||
"dot-location": ["error", "property"], | ||
"dot-notation": "error", | ||
"eqeqeq": "error", | ||
"no-empty-function": "error", | ||
"no-floating-decimal": "error", | ||
"no-implied-eval": "error", | ||
"no-invalid-this": "error", | ||
"no-lone-blocks": "error", | ||
"no-multi-spaces": "error", | ||
"no-new-func": "error", | ||
"no-new-wrappers": "error", | ||
"no-new": 0, | ||
"no-octal-escape": "error", | ||
"no-return-assign": "error", | ||
"no-return-await": "error", | ||
"no-self-compare": "error", | ||
"no-sequences": "error", | ||
"no-throw-literal": "error", | ||
"no-unmodified-loop-condition": "error", | ||
"no-unused-expressions": 0, | ||
"no-useless-call": "error", | ||
"no-useless-concat": "error", | ||
"no-useless-escape": "error", | ||
"no-useless-return": "error", | ||
"no-void": "error", | ||
"no-warning-comments": "warn", | ||
"prefer-promise-reject-errors": "error", | ||
"require-await": "warn", | ||
"wrap-iife": "error", | ||
"yoda": "error", | ||
|
||
"no-label-var": "error", | ||
"no-shadow": "error", | ||
"no-undef-init": "error", | ||
|
||
"callback-return": "error", | ||
"getter-return": "off", | ||
"handle-callback-err": "error", | ||
"no-mixed-requires": "error", | ||
"no-new-require": "error", | ||
"no-path-concat": "error", | ||
|
||
"array-bracket-spacing": "error", | ||
"block-spacing": "error", | ||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }], | ||
"capitalized-comments": ["error", "always", { "ignoreConsecutiveComments": true }], | ||
"comma-dangle": ["error", "always-multiline"], | ||
"comma-spacing": 0, | ||
"comma-style": "error", | ||
"computed-property-spacing": "error", | ||
"consistent-this": ["error", "$this"], | ||
"eol-last": "error", | ||
"func-names": 0, | ||
"func-name-matching": "error", | ||
"func-style": ["error", "declaration", { "allowArrowFunctions": true }], | ||
"key-spacing": "error", | ||
"keyword-spacing": "error", | ||
"max-depth": 0, | ||
"max-len": ["error", 400, 2], | ||
"max-nested-callbacks": ["error", { "max": 4 }], | ||
"max-statements-per-line": ["error", { "max": 2 }], | ||
"new-cap": "off", | ||
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 3 }], | ||
"no-array-constructor": "error", | ||
"no-inline-comments": "error", | ||
"no-lonely-if": "error", | ||
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], | ||
"no-new-object": "error", | ||
"no-spaced-func": "error", | ||
"no-trailing-spaces": "error", | ||
"no-unneeded-ternary": "error", | ||
"no-whitespace-before-property": "error", | ||
"nonblock-statement-body-position": "error", | ||
"object-curly-spacing": ["error", "always"], | ||
"operator-assignment": "error", | ||
"padded-blocks": ["error", "never"], | ||
"quote-props": ["error", "as-needed"], | ||
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }], | ||
"semi-spacing": "error", | ||
"semi": "error", | ||
"space-before-blocks": "error", | ||
"space-before-function-paren": [ | ||
"error", | ||
{ | ||
"anonymous": "never", | ||
"named": "never", | ||
"asyncArrow": "always" | ||
} | ||
], | ||
"space-in-parens": "error", | ||
"space-infix-ops": "error", | ||
"space-unary-ops": "error", | ||
"spaced-comment": "error", | ||
"template-tag-spacing": "error", | ||
"unicode-bom": "error", | ||
|
||
"arrow-body-style": "error", | ||
"arrow-parens": ["error", "as-needed"], | ||
"arrow-spacing": "error", | ||
"no-duplicate-imports": "error", | ||
"no-useless-computed-key": "error", | ||
"no-useless-constructor": "error", | ||
"prefer-arrow-callback": "error", | ||
"prefer-numeric-literals": "error", | ||
"prefer-rest-params": "error", | ||
"prefer-spread": "error", | ||
"prefer-template": "error", | ||
"rest-spread-spacing": "error", | ||
"template-curly-spacing": "error", | ||
"yield-star-spacing": "error" | ||
} | ||
} |
File renamed without changes.
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,42 @@ | ||
- name: 'API Changes' | ||
color: '56e2e9' | ||
- name: 'DJS Changes' | ||
color: '56e2e9' | ||
- name: 'type: discussion' | ||
color: 'ffffff' | ||
- name: 'type: enhancement' | ||
color: 'f6fa1b' | ||
- name: 'type: bug' | ||
color: 'fa1b3c' | ||
- name: 'type: bugfix' | ||
color: 'fa1b3c' | ||
- name: 's: duplicate' | ||
color: 'D4C5F9' | ||
- name: 's: already fixed' | ||
color: 'D4C5F9' | ||
- name: 's: won''t fix' | ||
color: 'D4C5F9' | ||
- name: 's: unverified' | ||
color: 'D4C5F9' | ||
- name: 'type: question (please use Discord instead)' | ||
color: 'd876e3' | ||
- name: 'semver: major' | ||
color: 'c10f47' | ||
- name: 'semver: minor' | ||
color: 'e4f486' | ||
- name: 'semver: patch' | ||
color: 'e8be8b' | ||
- name: 'priority: high' | ||
color: '37140A' | ||
- name: 'priority: medium' | ||
color: 'D8DF63' | ||
- name: 'priority: low' | ||
color: '02E6AD' | ||
- name: 'update: npm' | ||
color: '1b99fa' | ||
- name: 'meta: documentation' | ||
color: 'FBCA04' | ||
- name: 's: approved' | ||
color: '49eb34' | ||
- name: 's: awaiting review' | ||
color: 'ed6432' |
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,12 @@ | ||
**Please describe the changes this PR makes and why it should be merged:** | ||
|
||
|
||
**Status and versioning classification:** | ||
|
||
<!-- | ||
Please move lines that apply to you out of the comment: | ||
- I know how to update typings and have done so, or typings don't need updating | ||
- This PR changes the library's interface (methods or parameters added) | ||
- This PR includes breaking changes (methods removed or renamed, parameters moved or removed) | ||
- This PR **only** includes non-code changes, like changes to documentation, README, etc. | ||
--> |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,30 +1,29 @@ | ||
name: "DEV Release" | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
release: | ||
name: publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Deprecate old versions | ||
run: | | ||
npm deprecate gcommands@"~5.2.5" "" | ||
npm deprecate gcommands@"~$(jq --raw-output '.version' package.json)" "no longer supported" || true | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
|
||
- name: publish | ||
run: | | ||
npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(date +%s) | ||
npm publish --tag dev || true | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
name: "DEV Release" | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
release: | ||
name: publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Deprecate old versions | ||
run: | | ||
npm deprecate gcommands@"~$(jq --raw-output '.version' package.json)" "no longer supported" || true | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
|
||
- name: publish | ||
run: | | ||
npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(date +%s) | ||
npm publish --tag dev || true | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} |
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,42 @@ | ||
name: Labeler | ||
on: | ||
pull_request_review: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- dev | ||
paths: | ||
- '.github/labels.yml' | ||
- '.github/workflows/labeler.yml' | ||
jobs: | ||
labeler: | ||
name: Labeler | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Labeler | ||
uses: crazy-max/ghaction-github-labeler@v3 | ||
with: | ||
github-token: ${{ secrets.ACCESS_TOKEN }} | ||
label-approved: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: docker://tiangolo/label-approved:0.0.2 | ||
with: | ||
token: ${{ secrets.ACCESS_TOKEN }} | ||
config: > | ||
{ | ||
"s: awaiting review": | ||
{ | ||
"number": 0 | ||
}, | ||
"s: approved": | ||
{ | ||
"number": 2, | ||
"await_label": "s: awaiting review" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.