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

indent: Simplify and avoid scanning #2826

Merged
merged 2 commits into from May 31, 2017
Merged

indent: Simplify and avoid scanning #2826

merged 2 commits into from May 31, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented May 26, 2017

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

Remove complex scanning logic. Only search for comments or template spans when indent is wrong.
Added a test for JSX.

Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

[bugfix] indent now checks indentation of expressions inside template strings

[bugfix] `indent` now checks indentation of expressions inside template strings
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants