facebook

IDE does not show TSLint errors

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #556272 Reply

    Fedor Losev
    Participant

    When TS lint prints a rule error but terminates ok, the IDE does not show the error. I understand this is partially tslint problem but an IDE has to handle this.

    Example:
    1) Create a component that does not match a component-selector prefix in tslint.json
    2) See warnings e.g. ‘The selector of the component “Abc” should have prefix “app”
    3) Add invalid prefix expression in tslint.json e.g. ‘*’
    4) All warnings are gone, no error, nothing – makes impression everything is ok
    5) run ng lint:`
    SyntaxError: Invalid regular expression: /^\[?([)/: Unterminated character class
    All files pass linting.`

    IDE should report the error in Problems / Markers view

    #556332 Reply

    support-swapna
    Moderator

    Fedor,

    Thank you for reporting it. A bug is filed for the dev team to improve the validation in tslint.json.
    We will keep you posted when the fix is out.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: IDE does not show TSLint errors

You must be logged in to post in the forum log in