Skip to content

Commit e06f056

Browse files
committed
[generated] Run dprint
[git-generate] test -f ./node_modules/.bin/dprint || npm ci npx dprint fmt
1 parent 80a0c04 commit e06f056

File tree

466 files changed

+21521
-17405
lines changed

Some content is hidden

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

466 files changed

+21521
-17405
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"terminal.integrated.profiles.linux": {
1212
"bash": {
1313
"path": "/bin/bash",
14-
"icon": "terminal-bash",
15-
},
16-
},
14+
"icon": "terminal-bash"
15+
}
16+
}
1717
},
1818
"extensions": [
1919
"dbaeumer.vscode-eslint"

.eslintplugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ const path = require("path");
33

44
const rulesDir = path.join(__dirname, "scripts", "eslint", "rules");
55
const ext = ".cjs";
6-
const ruleFiles = fs.readdirSync(rulesDir).filter((p) => p.endsWith(ext));
6+
const ruleFiles = fs.readdirSync(rulesDir).filter(p => p.endsWith(ext));
77

88
module.exports = {
9-
rules: Object.fromEntries(ruleFiles.map((p) => {
9+
rules: Object.fromEntries(ruleFiles.map(p => {
1010
return [p.slice(0, -ext.length), require(path.join(rulesDir, p))];
1111
})),
12-
}
12+
};

.eslintrc.json

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
"es6": true
1212
},
1313
"plugins": [
14-
"@typescript-eslint", "no-null", "import", "eslint-plugin-local", "simple-import-sort"
14+
"@typescript-eslint",
15+
"no-null",
16+
"import",
17+
"eslint-plugin-local",
18+
"simple-import-sort"
1519
],
1620
"ignorePatterns": [
1721
"**/node_modules/**",
@@ -96,7 +100,7 @@
96100
"local/no-type-assertion-whitespace": "error",
97101
"local/type-operator-spacing": "error",
98102
"local/only-arrow-functions": ["error", {
99-
"allowNamedFunctions": true ,
103+
"allowNamedFunctions": true,
100104
"allowDeclarations": true
101105
}],
102106
"local/no-double-space": "error",
@@ -129,14 +133,7 @@
129133
"no-new-func": "error",
130134
"no-new-wrappers": "error",
131135
"no-return-await": "error",
132-
"no-restricted-globals": ["error",
133-
{ "name": "setTimeout" },
134-
{ "name": "clearTimeout" },
135-
{ "name": "setInterval" },
136-
{ "name": "clearInterval" },
137-
{ "name": "setImmediate" },
138-
{ "name": "clearImmediate" }
139-
],
136+
"no-restricted-globals": ["error", { "name": "setTimeout" }, { "name": "clearTimeout" }, { "name": "setInterval" }, { "name": "clearInterval" }, { "name": "setImmediate" }, { "name": "clearImmediate" }],
140137
"no-sparse-arrays": "error",
141138
"no-template-curly-in-string": "error",
142139
"no-throw-literal": "error",
@@ -159,7 +156,7 @@
159156
"overrides": [
160157
// By default, the ESLint CLI only looks at .js files. But, it will also look at
161158
// any files which are referenced in an override config. Most users of typescript-eslint
162-
// get this behavior by default by extending a recommended typescript-eslint config, which
159+
// get this behavior by default by extending a recommended typescript-eslint config, which
163160
// just so happens to override some core ESLint rules. We don't extend from any config, so
164161
// explicitly reference TS files here so the CLI picks them up.
165162
//
@@ -172,13 +169,7 @@
172169
"files": ["*.mjs", "*.mts"],
173170
"rules": {
174171
// These globals don't exist outside of CJS files.
175-
"no-restricted-globals": ["error",
176-
{ "name": "__filename" },
177-
{ "name": "__dirname" },
178-
{ "name": "require" },
179-
{ "name": "module" },
180-
{ "name": "exports" }
181-
]
172+
"no-restricted-globals": ["error", { "name": "__filename" }, { "name": "__dirname" }, { "name": "require" }, { "name": "module" }, { "name": "exports" }]
182173
}
183174
},
184175
{

0 commit comments

Comments
 (0)