Skip to content

Commit

Permalink
fix(eslint-plugin): [padding-line-between-statements] TSModuleBlock s…
Browse files Browse the repository at this point in the history
…hould change scope (#3944)
  • Loading branch information
josephzidell committed Oct 3, 2021
1 parent 240fc65 commit f8f534e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -763,9 +763,11 @@ export default util.createRule<Options, MessageIds>({
Program: enterScope,
BlockStatement: enterScope,
SwitchStatement: enterScope,
TSModuleBlock: enterScope,
'Program:exit': exitScope,
'BlockStatement:exit': exitScope,
'SwitchStatement:exit': exitScope,
'TSModuleBlock:exit': exitScope,

':statement': verify,

Expand Down
Expand Up @@ -5084,7 +5084,6 @@ declare namespace Types {
[key: string]: string;
}
}
`,
options: [
{ blankLine: 'always', prev: '*', next: ['interface', 'type'] },
Expand All @@ -5093,7 +5092,6 @@ declare namespace Types {
{ messageId: 'expectedBlankLine' },
{ messageId: 'expectedBlankLine' },
{ messageId: 'expectedBlankLine' },
{ messageId: 'expectedBlankLine' },
],
},
],
Expand Down

0 comments on commit f8f534e

Please sign in to comment.