Bug 1554162 - Enable ESLint for startupcache/. r=froydnj
authorMark Banner <standard8@mozilla.com>
Sat, 25 May 2019 02:07:26 +0000
changeset 475568 04a96dcba578937dee05b09d7eb431d507768345
parent 475567 52b90f48685d50324269da9f4c4ffefab9e20c34
child 475569 d0646b8b69e78adfa6f7893b3c96884d0d717b9b
push id113210
push userdvarga@mozilla.com
push dateSat, 25 May 2019 21:41:26 +0000
treeherdermozilla-inbound@edbf8267dd4f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1554162
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1554162 - Enable ESLint for startupcache/. r=froydnj Depends on D32493 Differential Revision: https://phabricator.services.mozilla.com/D32494
.eslintignore
startupcache/moz.build
startupcache/test/browser.ini
startupcache/test/browser/browser.ini
startupcache/test/browser/browser_startupcache_telemetry.js
startupcache/test/browser_startupcache_telemetry.js
--- a/.eslintignore
+++ b/.eslintignore
@@ -14,17 +14,16 @@ obj*/**
 # We ignore all these directories by default, until we get them enabled.
 # If you are enabling a directory, please add directory specific exclusions
 # below.
 layout/**
 netwerk/cookie/test/browser/**
 netwerk/test/browser/**
 netwerk/test/mochitests/**
 netwerk/test/unit*/**
-startupcache/**
 
 # We currently have no js files in these directories, so we ignore them by
 # default to aid ESLint's performance.
 build/**
 config/**
 db/**
 embedding/**
 gradle/**
--- a/startupcache/moz.build
+++ b/startupcache/moz.build
@@ -3,17 +3,17 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 with Files("**"):
     BUG_COMPONENT = ("Core", "XPCOM")
 
 TEST_DIRS += ['test']
-BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
 
 EXPORTS.mozilla.scache += [
     'StartupCache.h',
     'StartupCacheUtils.h',
 ]
 
 UNIFIED_SOURCES += [
     'StartupCache.cpp',
rename from startupcache/test/browser.ini
rename to startupcache/test/browser/browser.ini
rename from startupcache/test/browser_startupcache_telemetry.js
rename to startupcache/test/browser/browser_startupcache_telemetry.js