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.

JSLint and automatic indentation don't agree with non-default tabSize #7240

@0b10011

Description

@0b10011

Steps to reproduce

  1. Create a JavaScript file with it's contents set to var a = 0, b = 0;
  2. Set tabSize to 2
  3. Place the cursor after , and press Enter
  4. Save / Run JSLint

Expected results

JSLint should have 0 problems.

Actual results

JSLint reports 1 problem:

Expected 'b' at column 5, not column 9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions