mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Include CSS and JS in PhutilLintEngine.
This commit is contained in:
parent
7f4e6692cd
commit
210b4fe07d
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class PhutilLintEngine extends ArcanistLintEngine {
|
|||
$linters[] = $text_linter;
|
||||
foreach ($paths as $path) {
|
||||
$is_text = false;
|
||||
if (preg_match('/\.php$/', $path)) {
|
||||
if (preg_match('/\.(php|css|js)$/', $path)) {
|
||||
$is_text = true;
|
||||
}
|
||||
if ($is_text) {
|
||||
|
|
Loading…
Reference in a new issue