blob: 6e8808a3c6e0748376243f08ca5b3da3ffacf85c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
"use strict";
module.exports = {
// Extend from the devtools eslintrc.
"extends": "../../.eslintrc.js",
"rules": {
// The netmonitor is being migrated to HTML and cleaned of
// chrome-privileged code, so this rule disallows requiring chrome
// code. Some files in the netmonitor disable this rule still. The
// goal is to enable the rule globally on all files.
/* eslint-disable max-len */
"mozilla/reject-some-requires": ["error", "^(chrome|chrome:.*|resource:.*|devtools/server/.*|.*\\.jsm|devtools/shared/platform/(chome|content)/.*)$"],
},
};
|