Skip to content

Commit 6bb529a

Browse files
authored
Merge branch 'main' into scala_note
2 parents 2cfce11 + f6acb33 commit 6bb529a

Some content is hidden

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

61 files changed

+2381
-1033
lines changed

.dep-stats.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"dependencies": {
33
"@apideck/better-ajv-errors": "0.3.6",
44
"@octokit/rest": "21.1.1",
5+
"@pnpm/lockfile-file": "^9.1.3",
56
"@socketregistry/hyrious__bun.lockb": "1.0.14",
67
"@socketregistry/indent-string": "1.0.11",
78
"@socketregistry/is-interactive": "1.0.2",

.oxlintrc.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
{ "allowDestructuring": true }
1616
],
1717
"@typescript-eslint/return-await": ["error", "always"],
18-
"unicorn/no-empty-file": "off",
19-
"unicorn/no-new-array": "off",
2018
"no-control-regex": "off",
2119
"no-new": "off",
2220
"no-self-assign": "off",
2321
"no-undef": "off",
24-
"no-unused-vars": "off"
22+
"no-unused-vars": "off",
23+
"no-var": "error",
24+
"unicorn/no-empty-file": "off",
25+
"unicorn/no-new-array": "off"
2526
}
2627
}

bin/cli.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ if (
2121
// Lazily access constants.execPath.
2222
constants.execPath,
2323
[
24+
// Lazily access constants.nodeHardenFlags.
25+
...constants.nodeHardenFlags,
2426
// Lazily access constants.nodeNoWarningsFlags.
2527
...constants.nodeNoWarningsFlags,
2628
// Lazily access constants.ENV[SOCKET_CLI_SENTRY_BUILD].

eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ const sharedRules = {
4141
'no-new': 'error',
4242
'no-proto': 'error',
4343
'no-undef': 'error',
44+
'no-var': 'error',
4445
'no-warning-comments': ['warn', { terms: ['fixme'] }],
46+
'prefer-const': 'error',
4547
'sort-destructure-keys/sort-destructure-keys': 'error',
4648
'sort-imports': ['error', { ignoreDeclarationSort: true }],
4749
'unicorn/consistent-function-scoping': 'error'
@@ -175,6 +177,10 @@ module.exports = [
175177
rules: {
176178
...sharedRules,
177179
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
180+
'@typescript-eslint/consistent-type-assertions': [
181+
'error',
182+
{ assertionStyle: 'as' }
183+
],
178184
'@typescript-eslint/no-misused-new': 'error',
179185
'@typescript-eslint/no-this-alias': [
180186
'error',

0 commit comments

Comments
 (0)