File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3737 "no-useless-return" : " error" ,
3838 "no-var" : " error" ,
3939 "one-var" : [" error" , " never" ],
40- "prefer-arrow-callback" : " error" ,
4140 "prefer-const" : " error" ,
4241 "prefer-promise-reject-errors" : " error" ,
4342 "prettier/prettier" : " error" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ const STACKEXCHANGE_SITES = [
1212 "https://superuser.com" ,
1313] ;
1414const STACKEXCHANGE_URL_REGEX = / ^ h t t p s : \/ \/ ( [ a - z ] + ) .s t a c k e x c h a n g e .c o m / ;
15- const STACKEXCHANGE_VALID_PATHNAMES = / ( ^ \/ q u e s t i o n s | \/ p o s t s \/ \d + \/ e d i t | ^ \/ r e v i e w ) / u;
15+ const STACKEXCHANGE_VALID_PATHNAMES =
16+ / ( ^ \/ q u e s t i o n s | \/ p o s t s \/ \d + \/ e d i t | ^ \/ r e v i e w ) / u;
1617
1718export default class Extension {
1819 constructor ( ) {
@@ -206,9 +207,8 @@ export default class Extension {
206207 // Code Blocks
207208 } else {
208209 const isCodeBlock = codeBlockRegex . test ( firstLine ) ;
209- const isIndentedBlockWithLang = indentedCodeWithLangRegex . test (
210- firstLine
211- ) ;
210+ const isIndentedBlockWithLang =
211+ indentedCodeWithLangRegex . test ( firstLine ) ;
212212 let codeLines ;
213213
214214 if ( isCodeBlock ) {
You can’t perform that action at this time.
0 commit comments