Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

whitespace rule "check-module" option not working as expected #2401

Closed
dereklin opened this issue Mar 24, 2017 · 3 comments
Closed

whitespace rule "check-module" option not working as expected #2401

dereklin opened this issue Mar 24, 2017 · 3 comments

Comments

@dereklin
Copy link

I have this rule

    "whitespace": [true, "check-branch", "check-decl", "check-operator",
        "check-separator", "check-typecast", "check-type",
        "check-typecast", "check-module"],

I am not getting complains about this:

import {BrowserAnimationsModule } from '@angular/platform-browser/animations';

@cleidigh
Copy link

have this also using VS code

@jrsquared
Copy link

Same here, check-module does not appear to be doing what it should be doing. It wants me to add spaces in weird places.

@jsphweid
Copy link

You can accomplish this with tslint-eslint-rules: https://www.npmjs.com/package/tslint-eslint-rules with the rule object-curly-spacing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants