Skip to content

Commit

Permalink
Documentation tidyup/updates (#993)
Browse files Browse the repository at this point in the history
Co-authored-by: jtsshieh <27078349+jtsshieh@users.noreply.github.com>
Co-authored-by: Donovan Daniels <dwddaniels262@gmail.com>
Co-authored-by: Geo <georgej1088@gmail.com>
  • Loading branch information
4 people committed Oct 23, 2020
1 parent 69195fc commit 814f92b
Show file tree
Hide file tree
Showing 44 changed files with 5,632 additions and 5,274 deletions.
69 changes: 54 additions & 15 deletions .eslintrc.ts.yml
@@ -1,26 +1,65 @@
---
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
ts-ignore: 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

0 comments on commit 814f92b

Please sign in to comment.