Skip to content
This repository has been archived by the owner on Jun 11, 2018. It is now read-only.

fixer for invalid var spacing #6

Closed
Ma27 opened this issue Apr 7, 2016 · 2 comments · Fixed by #21
Closed

fixer for invalid var spacing #6

Ma27 opened this issue Apr 7, 2016 · 2 comments · Fixed by #21
Assignees
Milestone

Comments

@Ma27
Copy link
Owner

Ma27 commented Apr 7, 2016

Description of the issue

The process of fixing such issues should be automated, therefore a fixer which repairs the wrong CS must be implemented.

@Ma27 Ma27 self-assigned this Apr 7, 2016
@Ma27 Ma27 added this to the 1.0.0 milestone Apr 7, 2016
@Ma27
Copy link
Owner Author

Ma27 commented Apr 19, 2016

closing as can't fix. All columns must be compared with each other, the current implementation simply compares the next two lines as this detects every violation thanks to the token lexer of ESLint.

@Ma27 Ma27 closed this as completed Apr 19, 2016
@Ma27 Ma27 removed the in progress label Apr 19, 2016
@Ma27 Ma27 removed this from the 1.0.0 milestone Apr 19, 2016
@Ma27 Ma27 removed the Can't Fix label Apr 22, 2016
@Ma27 Ma27 added this to the 1.0.1 milestone Apr 22, 2016
@Ma27 Ma27 reopened this Apr 22, 2016
@Ma27
Copy link
Owner Author

Ma27 commented Apr 22, 2016

the multi-step validation is necessary for certain cases, so it requires an implementation and then this feature is possible :)

Ma27 added a commit that referenced this issue Apr 23, 2016
… approach instead of the token jumper

- fixes certain bugs with edge cases and special operators
- enables autofixing
Ma27 added a commit that referenced this issue Apr 23, 2016
@Ma27 Ma27 closed this as completed in #21 Apr 23, 2016
Ma27 added a commit that referenced this issue Apr 23, 2016
… approach instead of the token jumper (#21)

- algorithm which detects declarations even better due to the newly implemented node scanning logic
- multiple node detections make the implementation of an autofixer possible
@Ma27 Ma27 removed the in review label Apr 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant