All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 Execute(HandleCSSLintFormat should handle CSS errors):
8 \ 'text': 'Expected RBRACE at line 2, col 1.',
15 \ 'text': 'Expected ... but found ''wat''.',
16 \ 'code': 'known-properties',
19 \ ale#handlers#css#HandleCSSLintFormat(42, [
20 \ 'something.css: line 2, col 1, Error - Expected RBRACE at line 2, col 1. (errors)',
21 \ 'something.css: line 2, col 5, Warning - Expected ... but found ''wat''. (known-properties)',
24 Execute(HandleCSSLintFormat should handle CSS errors without groups):
31 \ 'text': 'Unknown property ''fill''.',
37 \ 'text': 'Unknown property ''fill-opacity''.',
40 \ ale#handlers#css#HandleCSSLintFormat(42, [
41 \ 'something.css: line 7, col 3, Warning - Unknown property ''fill''.',
42 \ 'something.css: line 8, col 3, Warning - Unknown property ''fill-opacity''.',
45 Execute (HandleGCCFormat should handle the correct lines of output):
52 \ 'text': 'conversion lacks type at end of format [-Wformat=]',
58 \ 'text': 'invalid operands to binary - (have ''int'' and ''char *'')',
61 \ ale#handlers#gcc#HandleGCCFormat(42, [
62 \ '<stdin>:8:5: warning: conversion lacks type at end of format [-Wformat=]',
63 \ '<stdin>:10:27: error: invalid operands to binary - (have ‘int’ and ‘char *’)',
66 Execute (HandleGCCFormat should replace Unicode quotes):
73 \ 'text': "'''' \"\"",
76 \ ale#handlers#gcc#HandleGCCFormat(42, ['<stdin>:8:5: warning: `´‘’ “”'])
78 Execute (HandleUnixFormatAsError should handle some example lines of output):
85 \ 'text': 'missing argument for Printf("%s"): format reads arg 2, have only 1 args',
91 \ 'text': 'if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)',
97 \ 'text': '".b" is not a valid class name. Class names must begin with "-", "_" or a letter and can only contain "_", "-", a-z and 0-9.',
100 \ ale#handlers#unix#HandleAsError(42, [
101 \ 'file.go:27: missing argument for Printf("%s"): format reads arg 2, have only 1 args',
102 \ 'file.go:53:10: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)',
103 \ 'test.pug:1:1 ".b" is not a valid class name. Class names must begin with "-", "_" or a letter and can only contain "_", "-", a-z and 0-9.',
106 Execute (HandleUnixFormatAsError should handle lines with no space after the colon):
122 \ ale#handlers#unix#HandleAsError(42, [
123 \ 'some_file.xyz:27:foo',
124 \ 'some_file.xyz:53:10:bar',
127 Execute (HandleUnixFormatAsError should handle names with spaces):
134 \ 'text': 'leonard.exclamation.30ppm More than 30 ppm of exclamations. Keep them under control.',
137 \ ale#handlers#unix#HandleAsError(42, [
138 \ '/Users/rrj/Notes/Astro/Taurus December SM.txt:13:90: leonard.exclamation.30ppm More than 30 ppm of exclamations. Keep them under control.',
141 Execute (HandleUnixFormatAsWarning should handle some example lines of output):
148 \ 'text': 'missing argument for Printf("%s"): format reads arg 2, have only 1 args',
154 \ 'text': 'if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)',
157 \ ale#handlers#unix#HandleAsWarning(42, [
158 \ 'file.go:27: missing argument for Printf("%s"): format reads arg 2, have only 1 args',
159 \ 'file.go:53:10: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)',
162 Execute (Unix format functions should handle Windows paths):
178 \ ale#handlers#unix#HandleAsError(42, [
179 \ 'C:\Users\w0rp\AppData\Local\Temp\Xyz123.go:27: foo',
180 \ 'C:\Users\w0rp\AppData\Local\Temp\Xyz123.go:53:10: foo',