blob: ddaad0e09f1d257fc8a15b18cc129c6badc43526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* 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/. */
"use strict";
module.exports = {
"plugins": [
"spidermonkey-js"
],
"overrides": [{
"files": ["*.js"],
"processor": "spidermonkey-js/processor",
}],
"rules": {
// We should fix those at some point, but we use this to detect NaNs.
"no-self-compare": "off",
"no-lonely-if": "off",
// Manually defining all the selfhosted methods is a slog.
"no-undef": "off",
// Disabled until we can use let/const to fix those erorrs,
// and undefined names cause an exception and abort during runtime initialization.
"no-redeclare": "off",
}
};
|