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

Documentation tidyup/updates #993

Merged
merged 61 commits into from Oct 23, 2020
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
00b6edd
Partial of previously open PR
bsian03 Aug 1, 2020
49f4209
Selfbot note for oauth app ID param
bsian03 Aug 1, 2020
db7440b
reorder
bsian03 Aug 2, 2020
163ce84
Typing diff for previous PR
bsian03 Aug 2, 2020
d38264d
Add missing OPCodes for Voice
bsian03 Aug 3, 2020
b27552a
Optional auth param
bsian03 Aug 4, 2020
515ed78
Fix docs order
bsian03 Aug 4, 2020
e841e59
Reoder everything, remove some duplicates
bsian03 Aug 4, 2020
6cf8c71
Lint
bsian03 Aug 4, 2020
05b359c
Doc updates/changes
bsian03 Aug 5, 2020
5fa3b41
Doc update
bsian03 Aug 5, 2020
e5c9e1f
Order
bsian03 Aug 5, 2020
955aee0
Merge branch 'dev' of https://github.com/abalabahaha/eris into typings
bsian03 Aug 6, 2020
d8ceb8d
Some corrections
bsian03 Aug 6, 2020
94129ae
Lint
bsian03 Aug 6, 2020
37b6a31
Don't break guild instantiation
bsian03 Aug 14, 2020
847a4f2
Add missing space
bsian03 Aug 18, 2020
7b6d6ed
Correct documentation
bsian03 Aug 18, 2020
d3a3b9c
Update event documentation
bsian03 Aug 18, 2020
fd303e5
Add missing Message props
bsian03 Aug 20, 2020
50e9e65
Correct webhooksUpdate doc
bsian03 Aug 20, 2020
40321c2
Strict type PermissionOverwrite#type
bsian03 Aug 20, 2020
a5f769d
Merge branch 'dev' of https://github.com/abalabahaha/eris into typings
bsian03 Aug 20, 2020
b69ea88
Tidy some stuff
bsian03 Aug 20, 2020
0bf0574
Correct doc for EmojiOptions
bsian03 Aug 20, 2020
841ee91
Correct some stuff
bsian03 Aug 20, 2020
711000e
Optional Message#application
bsian03 Aug 20, 2020
dc02a76
Correct docs
bsian03 Aug 20, 2020
a525c2e
Alphabetize jsdoc comments and methods in classes (#2)
jtsshieh Aug 20, 2020
c569b45
Refer user to superclass props (#4)
jtsshieh Aug 20, 2020
536dbea
Add Error classes
bsian03 Aug 21, 2020
8bcf4bf
Correct PermissionOverwrite constructor
bsian03 Aug 21, 2020
f6aad1f
Missing/correct docs
bsian03 Aug 21, 2020
bcef427
(╯°□°)╯︵ ┻━┻
bsian03 Aug 21, 2020
17a528c
Alphabetize other classes (#5)
jtsshieh Aug 21, 2020
433442f
Consistency with array types
bsian03 Aug 21, 2020
78d90a1
Correct docs for createMessage
bsian03 Aug 22, 2020
07c6403
Apply sort class member lint
bsian03 Aug 22, 2020
323e05d
Capitalise Function types (#6)
jtsshieh Aug 22, 2020
c7679d5
Fix linting
bsian03 Aug 22, 2020
befa6dd
TypeScript v4
bsian03 Aug 22, 2020
f9c78de
Fix linting for TS v4
bsian03 Aug 22, 2020
d6f575c
Add indexers to the Constants (#7)
jtsshieh Aug 23, 2020
8d2b399
Correct getVoiceRegions typing (#9)
jtsshieh Sep 6, 2020
5687d92
Deprecate add/removeMessageReaction userID param
bsian03 Sep 6, 2020
e3e7536
JSDoc consistency
bsian03 Sep 7, 2020
ab1583e
Strict type slack webhook
bsian03 Sep 8, 2020
070529d
Use unknown types
bsian03 Sep 8, 2020
86f2731
ts-ignore DOM references
bsian03 Sep 9, 2020
8b864aa
Match NodeJS version typings
bsian03 Sep 9, 2020
f3bdafa
Correct Piper#stop source param type
bsian03 Sep 9, 2020
6204e3f
Mark categories
bsian03 Sep 9, 2020
9941901
Document channel ID in edit webhook options
bsian03 Sep 11, 2020
9f9bcf6
Slack webhook payload not optional
bsian03 Sep 11, 2020
9a7c54f
Shard#disconnect options
bsian03 Oct 2, 2020
7e34b45
Have no idea wtf happened here
bsian03 Oct 2, 2020
d5f3086
OldGuildChannel.position typings & rawREST jsdoc (#11)
DonovanDMC Oct 4, 2020
6294c79
Add `team` to `OAuthApplicationInfo` (#10)
eritbh Oct 11, 2020
71f7df8
Move deprecation to only PrivateChannel
bsian03 Oct 12, 2020
27ce5ea
Lint
bsian03 Oct 12, 2020
110b1ed
Merge remote-tracking branch 'origin/dev' into typings
abalabahaha Oct 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
68 changes: 53 additions & 15 deletions .eslintrc.ts.yml
@@ -1,26 +1,64 @@
---
extends:
- "./.eslintrc.yml"
- "plugin:@typescript-eslint/eslint-recommended"
- "plugin:@typescript-eslint/recommended"
- "./.eslintrc.yml"
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
rules:
"@typescript-eslint/indent":
- 2
- 2
- SwitchCase: 1
ignoreComments: false
- 2
- 2
- SwitchCase: 1
ignoreComments: false
"@typescript-eslint/member-delimiter-style": 2
"@typescript-eslint/no-explicit-any": 0
"@typescript-eslint/no-use-before-define":
- 2
- classes: false
- 2
- classes: false
"@typescript-eslint/semi":
- 2
- always
- 2
- always
"@typescript-eslint/ban-ts-comment":
- 2
- ts-expect-error: allow-with-description
indent: 0
keyword-spacing:
- 2
- after: true
- 2
- after: true
object-curly-spacing:
- 2
- always
- 2
- always
semi: 0
sort-class-members/sort-class-members:
- 2
- order:
- "[screaming-snake-case-static-properties]"
- "[alphabetical-static-properties]"
- "[alphabetical-properties]"
- constructor
- "[alphabetical-static-methods]"
- "[alphabetical-methods]"
- 'on'
- "[everything-else]"
- toString
- toJSON
groups:
screaming-snake-case-static-properties:
- name: "/^[A-Z_0-9]+$/"
- type: property
sort: none
static: true
alphabetical-static-properties:
- type: property
sort: alphabetical
static: true
alphabetical-static-methods:
- type: method
sort: alphabetical
static: true
alphabetical-methods:
- type: method
sort: alphabetical
alphabetical-properties:
- type: property
sort: alphabetical
static: false
25 changes: 25 additions & 0 deletions .eslintrc.yml
Expand Up @@ -2,6 +2,8 @@
env:
es6: true
node: true
plugins:
- "sort-class-members"
extends: "eslint:recommended"
globals:
window: true
Expand Down Expand Up @@ -59,3 +61,26 @@ rules:
semi:
- 2
- always
sort-class-members/sort-class-members:
- 2
- order:
- constructor
- update
- "[alphabetical-getters]"
- "[alphabetical-methods]"
- "[alphabetical-conventional-private-methods]"
- "[everything-else]"
- toString
- toJSON
groups:
alphabetical-getters:
- kind: get
sort: alphabetical
alphabetical-methods:
- type: method
sort: alphabetical
alphabetical-conventional-private-methods:
- name: "/_.+/"
type: method
sort: alphabetical