File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/typescript-plugin Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ export = createLanguageServicePlugin(
7272 projectService . logger . info ( 'Vue: called handler processing ' + info . project . projectKind ) ;
7373
7474 const session = info . session ;
75- if ( session == undefined ) {
75+ if ( ! session ) {
7676 projectService . logger . info ( 'Vue: there is no session in info.' ) ;
7777 return ;
7878 }
79- if ( session . addProtocolHandler == undefined ) {
79+ if ( ! session . addProtocolHandler ) {
8080 // addProtocolHandler was introduced in TS 4.4 or 4.5 in 2021, see https://github.com/microsoft/TypeScript/issues/43893
8181 projectService . logger . info ( 'Vue: there is no addProtocolHandler method.' ) ;
8282 return ;
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ export default defineConfig({
8787 // Project-specific rules
8888 ...await defineRules ( {
8989 'curly' : true ,
90+ 'eqeqeq' : true ,
9091 'no-unused-expressions' : true ,
9192 'require-await' : true ,
9293 '@typescript-eslint/consistent-type-imports' : [ {
You can’t perform that action at this time.
0 commit comments