-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,124 additions
and
566 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import config from '@webcrack/eslint-config'; | ||
|
||
/** | ||
* @type {import('eslint').Linter.FlatConfig[]} | ||
*/ | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import config from '@webcrack/eslint-config'; | ||
|
||
/** | ||
* @type {import('eslint').Linter.FlatConfig[]} | ||
*/ | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "turbo run build", | ||
"dev": "turbo run dev --parallel", | ||
|
@@ -11,15 +12,16 @@ | |
}, | ||
"devDependencies": { | ||
"@webcrack/eslint-config": "workspace:*", | ||
"eslint": "^8.56.0", | ||
"prettier": "^3.2.4", | ||
"turbo": "^1.11.3", | ||
"vitest": "^1.2.1" | ||
"eslint": "^9.1.0", | ||
"prettier": "^3.2.5", | ||
"turbo": "^1.13.2", | ||
"vitest": "^1.5.0" | ||
}, | ||
"packageManager": "pnpm@8.14.1", | ||
"packageManager": "pnpm@9.0.4", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import js from '@eslint/js'; | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
import tseslint from 'typescript-eslint'; | ||
|
||
export default tseslint.config( | ||
js.configs.recommended, | ||
eslintConfigPrettier, | ||
...tseslint.configs.recommendedTypeChecked, | ||
{ | ||
plugins: { | ||
'@typescript-eslint': tseslint.plugin, | ||
}, | ||
languageOptions: { | ||
parser: tseslint.parser, | ||
parserOptions: { | ||
project: true, | ||
}, | ||
}, | ||
rules: { | ||
'@typescript-eslint/consistent-type-exports': 'error', | ||
'@typescript-eslint/consistent-type-imports': 'error', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.ts', '**/*.tsx'], | ||
}, | ||
{ | ||
ignores: ['**/*.js'], | ||
}, | ||
); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import config from '@webcrack/eslint-config'; | ||
|
||
/** | ||
* @type {import('eslint').Linter.FlatConfig[]} | ||
*/ | ||
export default [ | ||
...config, | ||
{ | ||
ignores: ['tmp', '**/test/samples', 'vitest.config.ts'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/esm/vs/base/common/platform.js b/esm/vs/base/common/platform.js | ||
index d507327daec3cdf5027bd886f898c364c5433ecd..25fe1dd9d08b75694e9e90c62391576f487410b0 100644 | ||
--- a/esm/vs/base/common/platform.js | ||
+++ b/esm/vs/base/common/platform.js | ||
@@ -26,7 +26,7 @@ if (typeof $globalThis.vscode !== 'undefined' && typeof $globalThis.vscode.proce | ||
// Native environment (sandboxed) | ||
nodeProcess = $globalThis.vscode.process; | ||
} | ||
-else if (typeof process !== 'undefined') { | ||
+else if (typeof process !== 'undefined' && typeof process?.versions?.node === 'string') { | ||
// Native environment (non-sandboxed) | ||
nodeProcess = process; | ||
} |
Oops, something went wrong.