Closed
Description
Repro
{
"rules": {
"key-spacing": ["error", { "align": "value" }]
}
}
interface Foo {
foo: string;
barBazQuux: string;
}
Expected Result
Should be highlighted as an error and auto fixed into:
interface Foo {
foo: string;
barBazQuux: string;
}
Actual Result
ESLint ignores interfaces.
Additional Info
Time for @typescript-eslint/key-spacing
?
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
2.0.0 |
@typescript-eslint/parser |
2.0.0 |
TypeScript |
3.6.2 |
ESLint |
5.16.0 |
node |
12.9.0 |
yarn |
1.17.3 |