[gjs: 3/5] maint: Run eslint job when eslint config files change



commit 20df1e9b1fd5459c8b5d2b00353fc349cc8e5f82
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Feb 1 18:50:09 2020 +0100

    maint: Run eslint job when eslint config files change
    
    In addition to running the job when any JS source files are changed, we
    should also run it when the eslint config file changes so that any new
    failures due to new rules in the config file are detected.

 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9a351df0..5a0a858c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -181,6 +181,9 @@ eslint:
   only:
     changes:
       - '**/*.js'
+      - .eslintignore
+      - .eslintrc.yml
+      - '**/.eslintrc.yml'
 
 #############################################
 #                Manual Jobs                #


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]