6
devphobe
26d

Fuck you eslint:

* Missing semicolon.eslintsemi

* Unnecessary semicolon.eslint@typescript-eslint/no-extra-semi

Comments
  • 1
    Makes sense if it's in different lines
  • 0
    @alexbrooklyn same line, which was literally :

    };
  • 0
    This is apparently wrong:

    export default interface Foo {
    bar: string
    }; // Offending eslint line

    This is apparently the correct way: ¯\_(ツ)_/¯

    interface Foo {
    bar: string
    } // No semicolon

    export default Foo; // Semicolon;
  • 0
    Makese sense honestly
Add Comment