File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11import eslint from "@eslint/js" ;
22import eslintConfigPrettier from "eslint-config-prettier/flat" ;
3+ import { defineConfig } from "eslint/config" ;
34import tseslint from "typescript-eslint" ;
45
5- export default tseslint . config (
6+ export default defineConfig (
67 eslint . configs . recommended ,
78 tseslint . configs . strictTypeChecked ,
89 tseslint . configs . stylisticTypeChecked ,
Original file line number Diff line number Diff line change @@ -21,12 +21,13 @@ export class OpenInISEFeature implements vscode.Disposable {
2121 let ISEPath = process . env . windir ?? "C:\\Windows" ;
2222
2323 if ( process . env . PROCESSOR_ARCHITEW6432 !== undefined ) {
24- ISEPath += "\\Sysnative" ;
24+ ( ISEPath as string ) += "\\Sysnative" ;
2525 } else {
26- ISEPath += "\\System32" ;
26+ ( ISEPath as string ) += "\\System32" ;
2727 }
2828
29- ISEPath += "\\WindowsPowerShell\\v1.0\\powershell_ise.exe" ;
29+ ( ISEPath as string ) +=
30+ "\\WindowsPowerShell\\v1.0\\powershell_ise.exe" ;
3031
3132 ChildProcess . exec ( `${ ISEPath } -File "${ uri . fsPath } "` ) . unref ( ) ;
3233 } ,
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ let successAdditionalTestCases: ITestPlatformSuccessCase[];
3838
3939if ( process . platform === "win32" ) {
4040 const msixAppDir = path . join (
41- process . env . LOCALAPPDATA ! ,
41+ process . env . LOCALAPPDATA as string ,
4242 "Microsoft" ,
4343 "WindowsApps" ,
4444 ) ;
You can’t perform that action at this time.
0 commit comments