Bug 912121 - Adjust ESLint files. r=pbrosset
authorJ. Ryan Stinnett <jryans@gmail.com>
Mon, 21 Sep 2015 12:02:32 -0500
changeset 284740 f3cbe9dd4bb317c60ad515c5ca87b7efc9300100
parent 284739 3b90d45a2bbcdb79ecd0672066fe7c4cb149288b
child 284741 c98255aa4d4b086c66d4e363f2661ac748dc16d8
push id8654
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:48:40 +0000
treeherdermozilla-aurora@bc4551debe17 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbrosset
bugs912121
milestone44.0a1
Bug 912121 - Adjust ESLint files. r=pbrosset Move ESList files up to /devtools to represent the entire DevTools tree. Various relative paths and ignore files are also updated.
devtools/.eslintignore
devtools/.eslintrc
devtools/.eslintrc.mochitests
devtools/.eslintrc.xpcshell
devtools/client/.eslintignore
devtools/client/.eslintrc
devtools/client/.eslintrc.mochitests
devtools/client/.eslintrc.xpcshell
devtools/client/animationinspector/test/.eslintrc
devtools/client/animationinspector/test/unit/.eslintrc
devtools/client/app-manager/test/.eslintrc
devtools/client/canvasdebugger/test/.eslintrc
devtools/client/commandline/test/.eslintrc
devtools/client/debugger/test/.eslintrc
devtools/client/eyedropper/test/.eslintrc
devtools/client/fontinspector/test/.eslintrc
devtools/client/framework/test/.eslintrc
devtools/client/inspector/test/.eslintrc
devtools/client/layoutview/test/.eslintrc
devtools/client/markupview/test/.eslintrc
devtools/client/netmonitor/test/.eslintrc
devtools/client/performance/test/.eslintrc
devtools/client/projecteditor/test/.eslintrc
devtools/client/promisedebugger/test/.eslintrc
devtools/client/responsivedesign/test/.eslintrc
devtools/client/scratchpad/test/.eslintrc
devtools/client/shadereditor/test/.eslintrc
devtools/client/shared/test/.eslintrc
devtools/client/shared/test/unit/.eslintrc
devtools/client/sourceeditor/test/.eslintrc
devtools/client/storage/test/.eslintrc
devtools/client/styleeditor/test/.eslintrc
devtools/client/styleinspector/test/.eslintrc
devtools/client/styleinspector/test/unit/.eslintrc
devtools/client/tilt/test/.eslintrc
devtools/client/webaudioeditor/test/.eslintrc
devtools/client/webconsole/test/.eslintrc
devtools/client/webide/test/.eslintrc
devtools/server/tests/browser/.eslintrc
devtools/server/tests/mochitest/.eslintrc
devtools/server/tests/unit/.eslintrc
devtools/shared/.eslintignore
devtools/shared/.eslintrc
devtools/shared/tests/unit/.eslintrc
rename from devtools/client/.eslintignore
rename to devtools/.eslintignore
--- a/devtools/client/.eslintignore
+++ b/devtools/.eslintignore
@@ -1,15 +1,22 @@
 # Ignore d3
-browser/devtools/shared/d3.js
-browser/devtools/webaudioeditor/lib/dagre-d3.js
+client/shared/d3.js
+client/webaudioeditor/lib/dagre-d3.js
 
 # Ignore codemirror
-browser/devtools/sourceeditor/codemirror/*.js
-browser/devtools/sourceeditor/codemirror/**/*.js
+client/sourceeditor/codemirror/*.js
+client/sourceeditor/codemirror/**/*.js
 
 # Ignore jquery test libs
-browser/devtools/markupview/test/lib_*
+client/markupview/test/lib_*
 
 # Ignore pre-processed files
-browser/devtools/framework/toolbox-process-window.js
-browser/devtools/performance/system.js
-browser/devtools/webide/webide-prefs.js
+client/framework/toolbox-process-window.js
+client/performance/system.js
+client/webide/webide-prefs.js
+
+# Ignore various libs
+shared/jsbeautify/*
+shared/acorn/*
+shared/tern/*
+shared/pretty-fast/*
+shared/sourcemap/*
rename from devtools/client/.eslintrc
rename to devtools/.eslintrc
rename from devtools/client/.eslintrc.mochitests
rename to devtools/.eslintrc.mochitests
rename from devtools/client/.eslintrc.xpcshell
rename to devtools/.eslintrc.xpcshell
--- a/devtools/client/animationinspector/test/.eslintrc
+++ b/devtools/client/animationinspector/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/animationinspector/test/unit/.eslintrc
+++ b/devtools/client/animationinspector/test/unit/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the common devtools xpcshell eslintrc config.
-  "extends": "../../../.eslintrc.xpcshell"
+  "extends": "../../../../.eslintrc.xpcshell"
 }
\ No newline at end of file
--- a/devtools/client/app-manager/test/.eslintrc
+++ b/devtools/client/app-manager/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/canvasdebugger/test/.eslintrc
+++ b/devtools/client/canvasdebugger/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/commandline/test/.eslintrc
+++ b/devtools/client/commandline/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/debugger/test/.eslintrc
+++ b/devtools/client/debugger/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/eyedropper/test/.eslintrc
+++ b/devtools/client/eyedropper/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/fontinspector/test/.eslintrc
+++ b/devtools/client/fontinspector/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/framework/test/.eslintrc
+++ b/devtools/client/framework/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/inspector/test/.eslintrc
+++ b/devtools/client/inspector/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/layoutview/test/.eslintrc
+++ b/devtools/client/layoutview/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/markupview/test/.eslintrc
+++ b/devtools/client/markupview/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/netmonitor/test/.eslintrc
+++ b/devtools/client/netmonitor/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/performance/test/.eslintrc
+++ b/devtools/client/performance/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/projecteditor/test/.eslintrc
+++ b/devtools/client/projecteditor/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/promisedebugger/test/.eslintrc
+++ b/devtools/client/promisedebugger/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/responsivedesign/test/.eslintrc
+++ b/devtools/client/responsivedesign/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/scratchpad/test/.eslintrc
+++ b/devtools/client/scratchpad/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/shadereditor/test/.eslintrc
+++ b/devtools/client/shadereditor/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/shared/test/.eslintrc
+++ b/devtools/client/shared/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/shared/test/unit/.eslintrc
+++ b/devtools/client/shared/test/unit/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the common devtools xpcshell eslintrc config.
-  "extends": "../../../.eslintrc.xpcshell"
+  "extends": "../../../../.eslintrc.xpcshell"
 }
\ No newline at end of file
--- a/devtools/client/sourceeditor/test/.eslintrc
+++ b/devtools/client/sourceeditor/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/storage/test/.eslintrc
+++ b/devtools/client/storage/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/styleeditor/test/.eslintrc
+++ b/devtools/client/styleeditor/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/styleinspector/test/.eslintrc
+++ b/devtools/client/styleinspector/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/styleinspector/test/unit/.eslintrc
+++ b/devtools/client/styleinspector/test/unit/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the common devtools xpcshell eslintrc config.
-  "extends": "../../../.eslintrc.xpcshell"
+  "extends": "../../../../.eslintrc.xpcshell"
 }
\ No newline at end of file
--- a/devtools/client/tilt/test/.eslintrc
+++ b/devtools/client/tilt/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/webaudioeditor/test/.eslintrc
+++ b/devtools/client/webaudioeditor/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/webconsole/test/.eslintrc
+++ b/devtools/client/webconsole/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/client/webide/test/.eslintrc
+++ b/devtools/client/webide/test/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the shared list of defined globals for mochitests.
-  "extends": "../../.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.mochitests"
 }
--- a/devtools/server/tests/browser/.eslintrc
+++ b/devtools/server/tests/browser/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the common devtools mochitest eslintrc config.
-  "extends": "../../../../../browser/devtools/.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.xpcshell"
 }
--- a/devtools/server/tests/mochitest/.eslintrc
+++ b/devtools/server/tests/mochitest/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the common devtools mochitest eslintrc config.
-  "extends": "../../../../../browser/devtools/.eslintrc.mochitests"
+  "extends": "../../../.eslintrc.xpcshell"
 }
--- a/devtools/server/tests/unit/.eslintrc
+++ b/devtools/server/tests/unit/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the common devtools xpcshell eslintrc config.
-  "extends": "../../../../../browser/devtools/.eslintrc.xpcshell"
+  "extends": "../../../.eslintrc.xpcshell"
 }
deleted file mode 100644
--- a/devtools/shared/.eslintignore
+++ /dev/null
@@ -1,6 +0,0 @@
-# Ignore various libs
-toolkit/devtools/jsbeautify/*
-toolkit/devtools/acorn/*
-toolkit/devtools/tern/*
-toolkit/devtools/pretty-fast/*
-toolkit/devtools/sourcemap/*
deleted file mode 100644
--- a/devtools/shared/.eslintrc
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  // Extend from the main devtools eslintrc over in browser/devtools.
-  "extends": "../../browser/devtools/.eslintrc"
-}
--- a/devtools/shared/tests/unit/.eslintrc
+++ b/devtools/shared/tests/unit/.eslintrc
@@ -1,4 +1,4 @@
 {
   // Extend from the common devtools xpcshell eslintrc config.
-  "extends": "../../../../browser/devtools/.eslintrc.xpcshell"
+  "extends": "../../../.eslintrc.xpcshell"
 }