{"id":5248,"date":"2017-05-28T17:58:09","date_gmt":"2017-05-28T14:58:09","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=5248"},"modified":"2017-05-28T17:58:09","modified_gmt":"2017-05-28T14:58:09","slug":"you-can-tell-syntastic-which-checkers-to-run-via-a-variable","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2017\/05\/28\/you-can-tell-syntastic-which-checkers-to-run-via-a-variable\/","title":{"rendered":"You can tell syntastic which checkers to run via a variable"},"content":{"rendered":"<p>From what romainl only linked to (<a href=\"https:\/\/stackoverflow.com\/help\/how-to-answer\">the relevant parts of links should be quoted when answering<\/a>):<\/p>\n<p>    You can tell syntastic which checkers to run for a given filetype by setting a variable &#8217;g:syntastic__checkers&#8217; to a list of checkers, e.g.<br \/>\n        let g:syntastic_php_checkers = [&#8221;php&#8221;, &#8221;phpcs&#8221;, &#8221;phpmd&#8221;]<\/p>\n<p>As for your question about invocation: according to <a href=\"https:\/\/github.com\/scrooloose\/syntastic#faqargs\">the FAQ<\/a>, the &#8221;command line is constructed using an internal function named <code>makeprgBuild()<\/code>, which provides a number of options that allow you to customise every part of the command that gets run. You can set these options using global variables&#8221;. (<a href=\"https:\/\/vi.stackexchange.com\/a\/10013\">See this answer<\/a>.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>e.g. let g:syntastic_php_checkers = [&#8221;php&#8221;, &#8221;phpcs&#8221;, &#8221;phpmd&#8221;]  The command line is constructed using an internal function named makeprgBuild().<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3922],"tags":[3840],"class_list":["post-5248","post","type-post","status-publish","format-standard","hentry","category-aiheeton","tag-vim","sijainti-stack-exchange"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=5248"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5248\/revisions"}],"predecessor-version":[{"id":5249,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5248\/revisions\/5249"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=5248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=5248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=5248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}