Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Invalid position given by 'W033' #435

Closed
mohnen opened this issue Jun 28, 2017 · 3 comments
Closed

Invalid position given by 'W033' #435

mohnen opened this issue Jun 28, 2017 · 3 comments

Comments

@mohnen
Copy link

mohnen commented Jun 28, 2017

JSHint returned a point that did not exist in the document being edited.
Rule: W033
Requested start point: 51:92

Debug information:

Atom version: 1.18.0
linter-jshint version: v3.1.4
JSHint version: jshint v2.9.5
Hours since last Atom restart: 4.7
Platform: win32
Current file's scopes: [
  "source.js",
  "comment.block.js",
  "punctuation.definition.comment.js"
]
linter-jshint configuration: {
  "executablePath": "",
  "lintInlineJavaScript": false,
  "disableWhenNoJshintrcFileInPath": false,
  "scopes": [
    "source.js",
    "source.js-semantic"
  ],
  "jshintFileName": ".jshintrc",
  "jshintignoreFilename": ".jshintignore"
}
@Arcanemagus
Copy link
Member

Is your file indented using tabs?

@mohnen
Copy link
Author

mohnen commented Jun 28, 2017 via email

@Arcanemagus
Copy link
Member

Please follow jshint/jshint#3151 for getting this fixed, there is currently a bug in JSHint where almost (?) all rules report invalid points when using tabs for indentation.

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

2 participants