Commit graph

544 commits

Author SHA1 Message Date
Bjorn Neergaard
a2e4af1626
Document ansible-lint 2016-10-20 09:27:57 -05:00
Bart Libert
a34fb0a6a7 Add support for cppcheck (#126)
* Add support for cppcheck

* Fix vint error in cppcheck handler

* Add vader test for CppCheck format handler
2016-10-20 12:30:45 +01:00
Jesse Paroz
5831e932e0 Added support for hlint 2016-10-19 22:27:03 +10:00
Łukasz Jan Niemier
27aad958d6 Add linters for Elixir (#113)
* Add Credo linter for Elixir

* Add requested changes

TODO: check if all message types are covered in `if` chain.

* Add information about Credo linter to README

* Add information about Credo linter to doc
2016-10-16 16:44:09 +01:00
w0rp
cbc419d51f Fix an issue with a duplicate section in the documentation. 2016-10-16 15:36:41 +01:00
Bjorn Neergaard
3a20587502 Document ALELint autocommand 2016-10-13 15:05:42 +01:00
s-ol
c197928d67 add documentation for luacheck linter 2016-10-13 10:05:30 +02:00
w0rp
78bcf96e34 Fix #87 - Allow linter filetypes to be aliased 2016-10-11 23:11:45 +01:00
w0rp
957acf186d Add the logo and thank Mark for his work. 2016-10-11 21:55:26 +01:00
Bjorn Neergaard
1074afbd08
Add new go linters to the help 2016-10-11 08:58:44 -05:00
w0rp
38dcf30045 Set an option for turning Vint style issues on or off. 2016-10-11 13:20:56 +01:00
Marc Delage
9a519684f2 add shellcheck option to the doc and sort options by theme (#85)
* add shellcheck options to the doc

* sort option by theme

* correct text for shellcheck option
2016-10-10 23:48:41 +01:00
Bjorn Neergaard
7f0ce89d2b First pass at optimizing ale to autoload (#80)
* First pass at optimizing ale to autoload

First off, the structure/function names should be revised a bit,
but I will wait for @w0rp's input before unifying the naming style.
Second off, the docs probably need some more work, I just did some
simple find-and-replace work.

With that said, this pull brings major performance gains for ale. On my
slowest system, fully loading ale and all its code takes around 150ms.

I have moved all of ale's autoload-able code to autoload/, and in
addition, implemented lazy-loading of linters. This brings load time on
that same system down to 5ms.

The only downside of lazy loading is that `g:ale_linters` cannot be
changed at runtime; however, it also speeds up performance at runtime by
simplfying the logic greatly.

Please let me know what you think!

Closes #59

* Address Travis/Vint errors

For some reason, ale isn't running vint for me...

* Incorporate feedback, make fixes

Lazy-loading logic is much improved.

* Add header comments; remove incorrect workaround

* Remove unneeded plugin guards

* Fix lazy-loading linter logic

Set the wrong variable....

* Fix capitialization
2016-10-10 19:51:29 +01:00
w0rp
0680f875fe Add an option for configuring the path for JSHint. 2016-10-10 19:07:01 +01:00
w0rp
4c9aa1c638 #74 - Document g:ale_buffer_loclist_map 2016-10-10 13:25:37 +01:00
w0rp
d022a867b4 Correct some grammar in the docs. 2016-10-10 12:58:55 +01:00
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
9902eadd33 Up-indent types and defaults, and align markers 2016-10-09 21:23:34 +01:00
w0rp
e0036b2f4c Make spacing and indentation consistent in the documentation, and make the docs easier to read. 2016-10-09 21:20:21 +01:00
Marc Delage
bc937639d0 Merge #66 with some amendments. 2016-10-09 21:14:22 +01:00
w0rp
a1ecf9ecea Merge branch 'shell-detection' 2016-10-09 21:04:43 +01:00
w0rp
07599d006c Document the default shell option 2016-10-09 20:45:51 +01:00
Vincent Lequertier
d1cf208683 Add support for perl and perlcritic 2016-10-09 17:33:03 +02: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
ee80a0d147 Fix some typos and remove some trailing whitespace. 2016-10-07 18:34:23 +01:00
w0rp
da1dcc6bb5 Add support for checking Cython files 2016-10-07 18:33:19 +01:00
w0rp
f6e95586dd Merge pull request #58 from KabbAmine/statusline
Add an initial getStatuslineStr function with customizable output
2016-10-07 18:29:36 +01:00
Kabbaj Amine
c3ae8305b7 Update the documentation files
... and move all pictures to img/ directory
2016-10-07 19:48:47 +03: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
Marc Delage
38a6979bca Add missing points in the doc (#61)
* Add c gcc option in the doc

* Add missing tag for eslint option in the doc

* Correct typo in doc (' ' instead of '.')
2016-10-07 16:27:27 +01:00
jwilliams108
a14790f6ca updating config option format and adding to doc 2016-10-07 11:14:52 +11:00
w0rp
3cdd057b11 Add support for changing the eslint executable. 2016-10-06 13:42:52 +01:00
w0rp
0466ae942c Merge pull request #50 from jwilliams108/linter-phpcs
adding phpcs linter
2016-10-06 12:18:47 +02:00
jwilliams108
04533038ef updating README and doc with reference to phpcs linter 2016-10-06 21:05:48 +11:00
w0rp
478c32f85d Fix #42, where some linting isn't run when opening some files. 2016-10-06 11:02:43 +01:00
w0rp
192bf17e92 Add a help file for the project. 2016-10-06 00:22:32 +01:00