Skip to content

Commit 4bf5f46

Browse files
committed
Prettied
1 parent d1b7690 commit 4bf5f46

35 files changed

+356
-429
lines changed

.eslintrc.json

Lines changed: 13 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,15 @@
2222
},
2323
"project": "tsconfig.json"
2424
},
25-
"plugins": [
26-
"import",
27-
"@typescript-eslint",
28-
"prettier"
29-
],
25+
"plugins": ["import", "@typescript-eslint", "prettier"],
3026
"root": true,
3127
"rules": {
3228
"@typescript-eslint/explicit-module-boundary-types": "off",
3329
"@typescript-eslint/indent": "off",
3430
"@typescript-eslint/no-empty-function": [
3531
"warn",
3632
{
37-
"allow": [
38-
"constructors"
39-
]
33+
"allow": ["constructors"]
4034
}
4135
],
4236
"@typescript-eslint/no-empty-interface": "error",
@@ -63,28 +57,19 @@
6357
"@typescript-eslint/no-use-before-define": "error",
6458
"@typescript-eslint/semi": "error",
6559
"@typescript-eslint/unbound-method": "off",
66-
"arrow-parens": [
67-
"error",
68-
"as-needed"
69-
],
60+
"arrow-parens": ["error", "as-needed"],
7061
"brace-style": [
7162
"warn",
7263
"1tbs",
7364
{
7465
"allowSingleLine": true
7566
}
7667
],
77-
"comma-dangle": [
78-
"error",
79-
"only-multiline"
80-
],
68+
"comma-dangle": ["error", "only-multiline"],
8169
"complexity": "off",
8270
"curly": "error",
8371
"dot-notation": "error",
84-
"eqeqeq": [
85-
"error",
86-
"smart"
87-
],
72+
"eqeqeq": ["error", "smart"],
8873
"eol-last": "error",
8974
"import/no-dynamic-require": "error",
9075
"import/no-default-export": "error",
@@ -93,15 +78,10 @@
9378
"import/no-unresolved": [
9479
"warn",
9580
{
96-
"ignore": [
97-
"vscode"
98-
]
81+
"ignore": ["vscode"]
9982
}
10083
],
101-
"max-classes-per-file": [
102-
"error",
103-
1
104-
],
84+
"max-classes-per-file": ["error", 1],
10585
"max-len": [
10686
"error",
10787
{
@@ -131,36 +111,19 @@
131111
}
132112
],
133113
"radix": "error",
134-
"semi": [
135-
"error",
136-
"always"
137-
],
138-
"semi-style": [
139-
"error",
140-
"last"
141-
],
142-
"spaced-comment": [
143-
"error",
144-
"always"
145-
],
146-
"space-in-parens": [
147-
"error",
148-
"never"
149-
],
114+
"semi": ["error", "always"],
115+
"semi-style": ["error", "last"],
116+
"spaced-comment": ["error", "always"],
117+
"space-in-parens": ["error", "never"],
150118
"sort-imports": [
151119
"error",
152120
{
153121
"ignoreCase": true,
154122
"ignoreDeclarationSort": true,
155123
"ignoreMemberSort": false,
156-
"memberSyntaxSortOrder": [
157-
"none",
158-
"all",
159-
"multiple",
160-
"single"
161-
]
124+
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
162125
}
163126
],
164127
"yoda": "error"
165128
}
166-
}
129+
}

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Create a report to help us improve
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Describe the bug**

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Suggest an idea for this project
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
## Suggest a Feature you'd like to see

.github/dependabot.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,22 @@
33
version: 2
44

55
updates:
6+
# Maintain updates for GitHub Actions
7+
- package-ecosystem: 'github-actions'
8+
directory: '/'
9+
schedule:
10+
interval: weekly
611

7-
# Maintain updates for GitHub Actions
8-
- package-ecosystem: "github-actions"
9-
directory: "/"
10-
schedule:
11-
interval: weekly
12-
13-
labels:
14-
- "workflows"
12+
labels:
13+
- 'workflows'
1514

16-
# Maintain updates for npm
17-
- package-ecosystem: "npm"
18-
directory: "/"
19-
schedule:
20-
interval: weekly
15+
# Maintain updates for npm
16+
- package-ecosystem: 'npm'
17+
directory: '/'
18+
schedule:
19+
interval: weekly
2120

22-
labels:
23-
- "dependencies"
21+
labels:
22+
- 'dependencies'
2423

25-
open-pull-requests-limit: 10
24+
open-pull-requests-limit: 10

.github/workflows/codeql.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
8-
schedule:
9-
- cron: '28 20 * * 6'
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: '28 20 * * 6'
1010

1111
jobs:
12-
analyze:
13-
name: Analyze
14-
runs-on: ubuntu-latest
15-
permissions:
16-
actions: read
17-
contents: read
18-
security-events: write
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
1919

20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
language: [ 'javascript', 'typescript' ]
24-
25-
steps:
26-
- name: Checkout repository
27-
uses: actions/checkout@v3
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: ['javascript', 'typescript']
2824

29-
# Initializes the CodeQL tools for scanning.
30-
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v2
32-
with:
33-
languages: ${{ matrix.language }}
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v3
3428

35-
- name: Autobuild
36-
uses: github/codeql-action/autobuild@v2
29+
# Initializes the CodeQL tools for scanning.
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v2
32+
with:
33+
languages: ${{ matrix.language }}
3734

38-
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@v2
35+
- name: Autobuild
36+
uses: github/codeql-action/autobuild@v2
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v2

.github/workflows/lock.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
name: Lock Closed Issues
22

33
on:
4-
schedule:
5-
- cron: '20 2 * * *'
6-
7-
workflow_dispatch:
8-
4+
schedule:
5+
- cron: '20 2 * * *'
6+
7+
workflow_dispatch:
8+
99
permissions:
10-
issues: write
11-
pull-requests: write
10+
issues: write
11+
pull-requests: write
1212

1313
concurrency:
14-
group: Lock
14+
group: Lock
1515

1616
jobs:
17-
action:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: dessant/lock-threads@v3
21-
with:
22-
github-token: ${{ secrets.GITHUB_TOKEN }}
23-
issue-comment: 'This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.'
24-
issue-inactive-days: 60
25-
add-issue-labels: 'archived'
26-
process-only: 'issues'
17+
action:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: dessant/lock-threads@v3
21+
with:
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
issue-comment: >
24+
This issue has been automatically locked since there has not been any recent activity after it was closed.
25+
26+
Please open a new issue for related topics.
27+
28+
issue-inactive-days: 60
29+
add-issue-labels: 'archived'
30+
process-only: 'issues'

0 commit comments

Comments
 (0)