Bug 1376128 - Update lint ignore patterns for testing/marionette; r?automatedtester,standard8 draft
authorAndreas Tolfsen <ato@sny.no>
Sat, 24 Jun 2017 19:01:48 +0100
changeset 602385 2d4dc30ddb9655f0ee34b0bc196081b4e1d0e735
parent 602384 ef52f9e9fee721a84e18357c2a5f9a0d408956e2
child 602386 960ce8f85ee96487f0e1dd301c3c113f3d49664d
push id66419
push userbmo:ato@sny.no
push dateThu, 29 Jun 2017 23:42:10 +0000
reviewersautomatedtester, standard8
bugs1376128
milestone56.0a1
Bug 1376128 - Update lint ignore patterns for testing/marionette; r?automatedtester,standard8 We want to ignore a certain subset of generated and legacy code in testing/marionette, most notably testing/marionette/atom.js and testing/marionette/legacyaction.js. Since the latter is scheduled for removal, there is no need to spend extra time linting it. MozReview-Commit-ID: OyRoM2uigG
.eslintignore
--- a/.eslintignore
+++ b/.eslintignore
@@ -292,18 +292,24 @@ security/manager/ssl/security-prefs.js
 security/nss/**
 
 # services/ exclusions
 
 # Uses `#filter substitution`
 services/sync/modules/constants.js
 services/sync/services-sync.js
 
-# testing/ exclusions
-testing/marionette/**
+# Remote protocol exclusions
+testing/marionette/test_*.js
+testing/marionette/atom.js
+testing/marionette/legacyaction.js
+testing/marionette/client/**
+testing/marionette/harness/**
+
+# other testing/ exclusions
 testing/mochitest/**
 # third party modules
 testing/modules/ajv-4.1.1.js
 testing/modules/sinon-2.3.2.js
 # octothorpe used for pref file comment causes parsing error
 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
 testing/talos/talos/scripts/jszip.min.js
 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js