{"action":"created","issue":{"url":"https://api.github.com/repos/w0rp/ale/issues/1109","repository_url":"https://api.github.com/repos/w0rp/ale","labels_url":"https://api.github.com/repos/w0rp/ale/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/w0rp/ale/issues/1109/comments","events_url":"https://api.github.com/repos/w0rp/ale/issues/1109/events","html_url":"https://github.com/w0rp/ale/issues/1109","id":273038597,"number":1109,"title":"Use one linter from language A in another language B (phpcs in js and css files)","user":{"login":"davidsierradz","id":9190258,"avatar_url":"https://avatars0.githubusercontent.com/u/9190258?v=4","gravatar_id":"","url":"https://api.github.com/users/davidsierradz","html_url":"https://github.com/davidsierradz","followers_url":"https://api.github.com/users/davidsierradz/followers","following_url":"https://api.github.com/users/davidsierradz/following{/other_user}","gists_url":"https://api.github.com/users/davidsierradz/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsierradz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsierradz/subscriptions","organizations_url":"https://api.github.com/users/davidsierradz/orgs","repos_url":"https://api.github.com/users/davidsierradz/repos","events_url":"https://api.github.com/users/davidsierradz/events{/privacy}","received_events_url":"https://api.github.com/users/davidsierradz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-10T19:43:22Z","updated_at":"2017-11-11T14:28:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) linter supports PHP, JS and CSS files, the [wordpress](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards) standard have rules to sniff JS and CSS files also, is there a way to use phpcs in this files from ale?"},"comment":{"url":"https://api.github.com/repos/w0rp/ale/issues/comments/343669031","html_url":"https://github.com/w0rp/ale/issues/1109#issuecomment-343669031","issue_url":"https://api.github.com/repos/w0rp/ale/issues/1109","id":343669031,"user":{"login":"w0rp","id":3518142,"avatar_url":"https://avatars2.githubusercontent.com/u/3518142?v=4","gravatar_id":"","url":"https://api.github.com/users/w0rp","html_url":"https://github.com/w0rp","followers_url":"https://api.github.com/users/w0rp/followers","following_url":"https://api.github.com/users/w0rp/following{/other_user}","gists_url":"https://api.github.com/users/w0rp/gists{/gist_id}","starred_url":"https://api.github.com/users/w0rp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w0rp/subscriptions","organizations_url":"https://api.github.com/users/w0rp/orgs","repos_url":"https://api.github.com/users/w0rp/repos","events_url":"https://api.github.com/users/w0rp/events{/privacy}","received_events_url":"https://api.github.com/users/w0rp/received_events","type":"User","site_admin":false},"created_at":"2017-11-11T14:28:59Z","updated_at":"2017-11-11T14:28:59Z","author_association":"OWNER","body":"One thing you can do easily is alias the filetype and set the linters for the aliased filetype.\r\n\r\n```vim\r\n\" Use css and php linters for CSS files.\r\nlet g:ale_linter_aliases = {'css': ['css', 'php']}\r\n\" Use only phpcs for CSS files.\r\nlet g:ale_linters = {'css': ['phpcs']}\r\n```\r\n\r\nSee `:help g:ale_linter_aliases` and `:help g:ale_linters` for more information."}}
{"actor":{"display_login":"w0rp"}}