w0rp
a42999a639
Massively reduce the amount of code needed for linter tests
2018-07-15 18:28:28 +01:00
Jeff Willette
e2a8f759d8
Added option for gometalinter
to lint package ( #1156 )
...
* Added option for `gometalinter` to lint package
* added tests for the `gometalinter` command
* changed gometalinter commands to use BufferCdString
2017-12-04 18:42:36 +00:00
w0rp
f224ce8a37
Revert "Show problems from other files for gobuild and gometalinter"
...
This reverts commit e721f851b4
.
2017-11-20 10:43:45 +00:00
Jeff Willette
e721f851b4
Show problems from other files for gobuild and gometalinter
...
* Added filename keys to gobuild and gometalinter
* Removed skipping files not in current package
* Removed `--include` for gometalinter
* Fixed the tests
2017-11-15 16:34:30 +00:00
Sander van Harmelen
b2be833744
Fixup #756
...
The real fix was not using absolute paths anymore (so not expanding with the `:p` option). The regex was correct and should at least include the `^` character to make sure the string starts with the given path/filename and not references the path/filename in some error description.
2017-07-12 09:51:44 +02:00
w0rp
340c0bbac5
#756 Escape the paths used for the --include parameter for gometalinter, which uses RE2
2017-07-11 23:47:21 +01:00
Sander van Harmelen
5c7b55edec
Make gometalinter work again
...
They changed their logic to use related paths instead of absoluut paths (see [here](a04df08be5 (diff-04424ed7c660c10495a54e8d11be89eaR253)
))
This fixes the linter by also using relative paths…
2017-07-11 17:13:04 +02:00
w0rp
6a84605c57
Make every test set filenames and switch directories in the same way, and fix some missing escaping for the rubocop linter
2017-07-09 22:43:31 +01:00
w0rp
8315c0e337
Make the executable for gometalinter configurable
2017-07-07 00:10:30 +01:00