forked from mirrors/gecko-dev
Backed out changeset 44fb0e3f3843 (bug 1789249) for causing mozlint failures. CLOSED TREE
This commit is contained in:
parent
c4dd970059
commit
e03fe088c7
2 changed files with 20 additions and 23 deletions
|
|
@ -218,9 +218,6 @@ toolkit/components/translation/cld2/
|
||||||
toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
|
toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
|
||||||
toolkit/modules/AppConstants.jsm
|
toolkit/modules/AppConstants.jsm
|
||||||
|
|
||||||
# Tests of ESLint command.
|
|
||||||
tools/lint/test/files
|
|
||||||
|
|
||||||
# Uses special template formatting.
|
# Uses special template formatting.
|
||||||
tools/tryselect/selectors/chooser/templates/chooser.html
|
tools/tryselect/selectors/chooser/templates/chooser.html
|
||||||
|
|
||||||
|
|
|
||||||
40
.eslintrc.js
40
.eslintrc.js
|
|
@ -22,28 +22,28 @@ function removeOverrides(config) {
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
function readFile(path) {
|
|
||||||
return fs
|
|
||||||
.readFileSync(path, { encoding: "utf-8" })
|
|
||||||
.split("\n")
|
|
||||||
.filter(p => p && !p.startsWith("#"));
|
|
||||||
}
|
|
||||||
|
|
||||||
const ignorePatterns = [
|
const ignorePatterns = [
|
||||||
...readFile(
|
...fs
|
||||||
path.join(__dirname, "tools", "rewriting", "ThirdPartyPaths.txt")
|
.readFileSync(
|
||||||
),
|
path.join(__dirname, "tools", "rewriting", "ThirdPartyPaths.txt")
|
||||||
...readFile(path.join(__dirname, "tools", "rewriting", "Generated.txt")),
|
|
||||||
...readFile(
|
|
||||||
path.join(
|
|
||||||
__dirname,
|
|
||||||
"devtools",
|
|
||||||
"client",
|
|
||||||
"debugger",
|
|
||||||
"src",
|
|
||||||
".eslintignore"
|
|
||||||
)
|
)
|
||||||
).map(p => `devtools/client/debugger/src/${p}`),
|
.toString("utf-8")
|
||||||
|
.split("\n"),
|
||||||
|
...fs
|
||||||
|
.readFileSync(
|
||||||
|
path.join(
|
||||||
|
__dirname,
|
||||||
|
"devtools",
|
||||||
|
"client",
|
||||||
|
"debugger",
|
||||||
|
"src",
|
||||||
|
".eslintignore"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.toString("utf-8")
|
||||||
|
.split("\n")
|
||||||
|
.filter(p => p && !p.startsWith("#"))
|
||||||
|
.map(p => `devtools/client/debugger/src/${p}`),
|
||||||
];
|
];
|
||||||
const httpTestingPaths = [
|
const httpTestingPaths = [
|
||||||
"**/*mixedcontent",
|
"**/*mixedcontent",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue