Commit Graph

77 Commits

Author SHA1 Message Date
KabbAmine
e4b3f579fa Echo string format (#76)
* Implement an option to configure the echoed message, #48

Via `g:ale_echo_msg_format` where:
- `%s` is the error message itself
- `%linter%` is the linter name
- `%severity` is the severity type

e.g
let g:ale_echo_msg_fomat = '[%linter%] [%severity%] %s'

* Add new options for defining the string used for errors in echoed
message

`g:ale_echo_msg_error_str` and `g:ale_echo_msg_warning_str`

* Change text output of some linters

Now that the echoed message can be customized, no need to add the type
to the text variable.

* Update README & documentation file

* Fix some typos
* Sort the table of options alphabetically (except echo_msg_x_str options)

* Added echo warning str option to the doc
2016-10-10 12:53:54 +01:00
w0rp
a1ecf9ecea Merge branch 'shell-detection' 2016-10-09 21:04:43 +01:00
Kabbaj Amine
b2714da78b Modify shell's pattern to handle locals other than english, fixes #69 2016-10-09 22:57:11 +03:00
w0rp
b5e4538699 #69 Change the default shell for shell linting 2016-10-09 20:39:14 +01:00
w0rp
2d32c31205 Handle arguments to shells in shebang lines too. 2016-10-09 19:41:27 +01:00
w0rp
9d52d968db #69 Improve shell detection 2016-10-09 19:32:01 +01:00
Vincent Lequertier
d1cf208683 Add support for perl and perlcritic 2016-10-09 17:33:03 +02:00
mshr-h
85195b56df Add comment headers to verilog linters 2016-10-09 11:32:31 +09:00
w0rp
1ea0eda36c Correct all Vint warnings 2016-10-08 23:55:58 +01:00
w0rp
1044c8af0a Merge pull request #68 from KabbAmine/linter-coffee
Add coffee linter
2016-10-08 16:56:03 +01:00
w0rp
ecde32d9ec Merge pull request #67 from KabbAmine/linter-htmlhint
Add linter HTMLHint for html files
2016-10-08 16:55:14 +01:00
Kabbaj Amine
5eb7106359 Add coffee linter 2016-10-08 18:52:23 +03:00
Kabbaj Amine
49da6d409d Add linter HTMLHint for html files 2016-10-08 18:01:03 +03:00
mshr-h
e59264023a Add verilator for verilog 2016-10-08 21:39:54 +09:00
Marc Delage
edc5cedd8c Add cpp linter (#64)
* Add c gcc option in the doc

* Add missing tag for eslint option in the doc

* Correct typo in doc (' ' instead of '.')

* add cpp linter

* correct typo in doc

* add filetype information for c++
2016-10-08 12:42:36 +01:00
Masahiro H
bd6da4489d Add iverilog for verilog (#63)
* Add iverilog for verilog

* Remove extra spacing/blank line

* Set column to 1
2016-10-08 12:29:45 +01:00
w0rp
197137aea0 Add support for Pug with pug-lint. 2016-10-07 22:16:29 +01:00
w0rp
2f86a92ecb Merge pull request #62 from KabbAmine/linter-tidy-refactor
Refactor tidy support
2016-10-07 20:20:27 +01:00
Kabbaj Amine
4e26c76f73 Refactor tidy support
* Add an option for file encoding
* Remove the type from text
* Fix linter's name
2016-10-07 22:14:09 +03:00
w0rp
da1dcc6bb5 Add support for checking Cython files 2016-10-07 18:33:19 +01:00
w0rp
d97e25a260 Support reading from both output streams, and fix PHP error parsing, which sometimes logs to stderr, sometimes stdout. 2016-10-07 17:08:11 +01:00
Zoltan Kalmar
0e98635937 Add basic scala support using scalac (#56)
* Add basic scala support using scalac

* Convert if to a ternary expression

* Better bounds check

* Code formatting

* Mention Scala in the documentation
2016-10-07 16:28:44 +01:00
jwilliams108
a14790f6ca updating config option format and adding to doc 2016-10-07 11:14:52 +11:00
w0rp
c5d3cc5bc7 Merge pull request #53 from dahlia/haskell-stack
GHC Linter for Haskell Stack
2016-10-06 16:56:45 +02:00
Hong Minhee
94842a257e GHC Linter for Haskell Stack
https://haskellstack.org/
2016-10-06 22:46:51 +09:00
w0rp
3cdd057b11 Add support for changing the eslint executable. 2016-10-06 13:42:52 +01:00
w0rp
36acde533f Fix loading of JSHint configuration files. 2016-10-06 12:56:09 +01:00
w0rp
0466ae942c Merge pull request #50 from jwilliams108/linter-phpcs
adding phpcs linter
2016-10-06 12:18:47 +02:00
jwilliams108
63bed5368c correctly parse eslint warning type 2016-10-06 20:21:29 +11:00
jwilliams108
e7a7b31d3c adding phpcs linter 2016-10-06 20:11:19 +11:00
w0rp
91dc117bec Update the author line and the filenames for the GCC format pattern. 2016-10-05 11:35:16 +01:00
Kabbaj Amine
811a8a3054 Use gcc format for vint output 2016-10-05 11:35:16 +01:00
w0rp
200d9304ab Rename the sasslinters to use the same naming conventions, and add scsslint. 2016-10-05 10:36:38 +01:00
Kabbaj Amine
dd3a34fa27 Add tidy support for html 2016-10-04 22:16:28 +03:00
w0rp
c6dc324add Add a function for finding nearest files, and use it to fix JSHint so it will find configuration files automatically. 2016-10-04 18:24:46 +01:00
w0rp
705f4232c0 Add support for formatting filenames into commands, and use it to fix linting with older eslint versions. 2016-10-04 13:50:44 +01:00
w0rp
6269ffa0b2 Add support for checking PHP code, courtesy of Spencer Wood. 2016-10-04 00:16:53 +01:00
w0rp
2d1f1fd698 Write YAML for the name instead, and make the example lines match the YAML linter regex. 2016-10-03 23:53:04 +01:00
w0rp
513e2c0235 Merge pull request #36 from KabbAmine/linter-yamllint
Add linter yamllint for yaml
2016-10-04 00:50:46 +02:00
w0rp
4e9b93d118 Merge pull request #35 from KabbAmine/linter-jsonlint-fp
Add linter jsonlint for json
2016-10-04 00:35:11 +02:00
w0rp
e9d6f5a707 Merge pull request #33 from prashcr/comment-headers
Add comment headers for every source file
2016-10-04 00:30:27 +02:00
w0rp
65f5e15af5 Rename the SASS files to follow the convention from other files, and move the function for handling CSSLint style output into the handlers file. 2016-10-03 23:24:18 +01:00
Kabbaj Amine
406e5db352 Add sass/scss support with sass-lint 2016-10-03 23:12:10 +01:00
Kabbaj Amine
d0669ba976 Add linter yamllint for yaml 2016-10-03 22:49:02 +03:00
Kabbaj Amine
5db4710e6d Add linter jsonlint for json 2016-10-03 22:24:04 +03:00
Prashanth Chandra
51b7d7bc95 Add comment headers to ale_linters 2016-10-04 03:07:59 +08:00
Prashanth Chandra
de64c9d76f Linter: tslint for typescript 2016-10-04 03:00:06 +08:00
w0rp
60a03cb933 Add support for linting with CSSLint. 2016-10-03 18:05:58 +01:00
w0rp
552cc7dbc4 Add support for checking Vim code with Vint. 2016-10-03 17:40:02 +01:00
w0rp
2479111884 Remove a test echo line. 2016-10-03 13:45:55 +01:00