Skip to content

Commit e8f7abb

Browse files
Update all GHA workflows (#447)
1 parent 05a0ac4 commit e8f7abb

File tree

235 files changed

+3330
-3695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+3330
-3695
lines changed

common/.eslintrc

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@
2222
"Atomics": "readonly",
2323
"SharedArrayBuffer": "readonly"
2424
},
25-
"plugins": [
26-
"@typescript-eslint"
27-
],
25+
"plugins": ["@typescript-eslint"],
2826
"rules": {
2927
// Code style not forced upon the student
3028
"@typescript-eslint/array-type": "off",
3129

3230
// Prevent bugs
3331
"@typescript-eslint/explicit-function-return-type": [
34-
"warn", {
32+
"warn",
33+
{
3534
"allowExpressions": false,
3635
"allowTypedFunctionExpressions": true,
3736
"allowHigherOrderFunctions": true
@@ -45,7 +44,8 @@
4544
"@typescript-eslint/indent": "off",
4645

4746
"@typescript-eslint/no-inferrable-types": [
48-
"error", {
47+
"error",
48+
{
4949
"ignoreParameters": true
5050
}
5151
],
@@ -56,31 +56,37 @@
5656
// Code style not forced upon the student
5757
"@typescript-eslint/no-non-null-assertion": "off",
5858

59-
// Only disallow readonly without an access modifier
59+
// Only disallow readonly without an access modifier
6060
"@typescript-eslint/no-parameter-properties": [
61-
"warn", {
61+
"warn",
62+
{
6263
"allows": [
63-
"private", "protected", "public",
64-
"private readonly", "protected readonly", "public readonly"
64+
"private",
65+
"protected",
66+
"public",
67+
"private readonly",
68+
"protected readonly",
69+
"public readonly"
6570
]
6671
}
6772
],
6873

6974
// Covered by the tsc compiler (noUnusedLocals)
7075
"@typescript-eslint/no-unused-vars": "off",
7176

72-
// Prevent bugs, not styling
77+
// Prevent bugs, not styling
7378
"@typescript-eslint/no-use-before-define": [
74-
"error", {
79+
"error",
80+
{
7581
"functions": false,
7682
"typedefs": false
7783
}
7884
],
7985

80-
// Always disable base-rule
86+
// Always disable base-rule
8187
"semi": "off",
8288

83-
// Code style not forced upon student
89+
// Code style not forced upon student
8490
"@typescript-eslint/semi": "off"
8591
}
8692
}

0 commit comments

Comments
 (0)