File tree 4 files changed +14
-8
lines changed
4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 190
190
< ol>
191
191
{#each messages as msg, i (` ${ msg .line } :${ msg .column } :${ msg .ruleId } @${ i} ` )}
192
192
< li class = " message" >
193
- <!-- svelte- ignore a11y- invalid- attribute -->
194
- < a href= " #" on: click= {(evt ) => onClickMessage (evt, msg)} class = " message-link"
195
- > [{msg .line }: {msg .column }]< / a
196
- > :
193
+ < button on: click= {(evt ) => onClickMessage (evt, msg)} class = " message-link" >
194
+ [{msg .line }: {msg .column }]
195
+ < / button> :
197
196
{msg .message }
198
197
< a
199
198
class = " rule-link {getRule(msg.ruleId)?.classes}"
268
267
color: #8080f2 ;
269
268
}
270
269
.message - link {
270
+ background- color: transparent;
271
+ border: none;
272
+ cursor: pointer;
273
+ outline: none;
274
+ padding: 0 ;
275
+ appearance: none;
271
276
color: #40b3ff ;
272
277
}
273
278
< / style>
Original file line number Diff line number Diff line change 33
33
34
34
<SideMenu {sidebarOpen } hiddenMenu ={frontmatter .hiddenMenu } />
35
35
36
- <!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
36
+ <!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
37
37
<main
38
38
class:hidden-menu ={frontmatter .hiddenMenu }
39
39
on:click ={sidebarOpen ? resetSidebarOpen : null }
Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ const config = [
128
128
} ,
129
129
rules : {
130
130
'n/file-extension-in-import' : 'off' ,
131
- 'n/no-unsupported-features/es-syntax' : 'off'
131
+ 'n/no-unsupported-features/es-syntax' : 'off' ,
132
+ 'n/no-unsupported-features/es-builtins' : 'off'
132
133
}
133
134
} ,
134
135
{
Original file line number Diff line number Diff line change 135
135
"eslint-plugin-jsonc" : " ^2.15.1" ,
136
136
"eslint-plugin-markdown" : " ^4.0.1" ,
137
137
"eslint-plugin-mdx" : " ^3.1.5" ,
138
- "eslint-plugin-n" : " ^17.2.1 " ,
138
+ "eslint-plugin-n" : " ^17.4.0 " ,
139
139
"eslint-plugin-node-dependencies" : " ^0.12.0" ,
140
140
"eslint-plugin-prettier" : " ^5.1.3" ,
141
141
"eslint-plugin-regexp" : " ^2.5.0" ,
142
- "eslint-plugin-svelte" : " ^2.37 .0" ,
142
+ "eslint-plugin-svelte" : " ^2.38 .0" ,
143
143
"eslint-plugin-yml" : " ^1.14.0" ,
144
144
"eslint-scope" : " ^8.0.1" ,
145
145
"eslint-typegen" : " ^0.2.3" ,
You can’t perform that action at this time.
0 commit comments