[brace-style] 1tbs not enforced with interfaces #804
Labels
enhancement: new base rule extension
New base rule extension required to handle a TS specific case
has pr
there is a PR raised to close this
package: parser
Issues related to @typescript-eslint/parser
What code were you trying to parse?
With the following rule in
.eslintrc.json
:This code is correctly flagged as violating 1tbs:
However, when recreating the same violation with an interface, there will be no lint error:
What did you expect to happen?
Both the class and interface to be flagged by ESLint.
What actually happened?
The interface is not flagged.
Versions
@typescript-eslint/parser
1.13.0
TypeScript
3.4.5
ESLint
6.0.1
node
8.11.4
npm
6.5.0
The text was updated successfully, but these errors were encountered: