Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

[Core][JSLint]: JSLint doesn't complain about errors if there are html tags in JS file. #5375

@julieyuan

Description

@julieyuan

Steps:

  1. Launch Brackets and new a JS file.
  2. Check View > Lint Files on Save.
  3. Input <html></html> tag and some content between the tag. For example:
    `

    this is body `
  4. Press Ctrl+S to save this js file and observe the Lint icon on the status bar.

Result:
The Lint icon shows as no JSLint errors.

Expected:
It should complain about errors.

Notes:
If I check same content with JSLint tools: http://www.jslint.com/, it will check out the error "Unexpected '<' ", then stop scanning the file. Please refer to snapshots below.

ENV: MAC10.7.5 and Win8 English OS
Build: 0.32.0-9725

Snapshots:
Please refer to snapshots for details:
1111
Case JSLint tools for reference:
jslint reference

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions