Bug 1265796 - add .eslintrc to devtools/shared/platform/content/; r?gregtatum
devtools/shared/platform/content/ should never require chrome or a few
other things; enforce this with eslint.
MozReview-Commit-ID: DLgWITOvWeB
new file mode 100644
--- /dev/null
+++ b/devtools/shared/platform/content/.eslintrc
@@ -0,0 +1,9 @@
+{
+ // Extend from the devtools eslintrc.
+ "extends": "../../../.eslintrc",
+
+ "rules": {
+ // All code in this directory must be content-clean.
+ "mozilla/reject-some-requires": [2, "^(chrome|chrome:.*|resource:.*|devtools/server/.*|.*\\.jsm|devtools/shared/platform/(chome|content)/.*)$"],
+ },
+}