File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export type MessageIds =
3535 * Type for list of message identifiers.
3636 */
3737export type MessageIdKeys = {
38- [ _ in RuleOptionGroup ] : { [ _ in RuleOptionValue ] : MessageIds } ;
38+ [ _ in RuleOptionGroup ] : { [ __ in RuleOptionValue ] : MessageIds } ;
3939} ;
4040
4141/**
Original file line number Diff line number Diff line change @@ -142,8 +142,7 @@ function getLocOffsetFix<T extends AST>(node: AstWithParent<T>): number {
142142 // Get all the whitespaces (including line-breaks) before the expression.
143143 const result = / ^ [ \r \n \s \t ] + / gm. exec ( astWithSource . source ) ;
144144 if ( result !== null && result . length > 0 ) {
145- const offset = result [ 0 ] . length ;
146- return offset ;
145+ return result [ 0 ] . length ;
147146 }
148147
149148 return 0 ;
You can’t perform that action at this time.
0 commit comments