coala / coala/coala-html

Show results in the right place

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
status/STALE type/bug
Dominant language
JavaScript
Stars
18
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Doing this:

```
diff --git a/.coafile b/.coafile
index 5f960e7..9e01690 100644
--- a/.coafile
+++ b/.coafile
@@ -24,9 +24,9 @@ max_line_length = 100
# will be executed sequentially; also we need the LineLengthBear to double
# check the line length because PEP8Bear sometimes isn't able to correct the
# linelength.
-bears = PyUnusedCodeBear
-default_actions =
- PyUnusedCodeBear: ApplyPatchAction
+bears = PyUnusedCodeBear, QuotesBear
+preferred_quoting = '
+language = Python

[autopep8]
bears = PEP8Bear
```

then running coala-html on itself, I'm getting this:

![screenshot from 2016-11-24 16-11-27](https://cloud.githubusercontent.com/assets/5716520/20603186/b28e0924-b260-11e6-818c-b24f54439c2f.png)

The second result doesn't belong into that line.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by applying the shown .coafile changes and running coala-html on itself, then inspect how the reported results are positioned. The fix is complete when the second result is displayed beside the correct line rather than in the adjacent line.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.