mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
no-native-reassign -> no-global-assign
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
"no-extend-native": "error",
|
||||
"no-extra-bind": "error",
|
||||
"no-floating-decimal": "error",
|
||||
"no-global-assign": "error",
|
||||
"no-implied-eval": "error",
|
||||
"no-invalid-this": "off",
|
||||
"no-iterator": "error",
|
||||
@@ -35,7 +36,6 @@
|
||||
"no-lone-blocks": "error",
|
||||
"no-loop-func": "error",
|
||||
"no-multi-str": "error",
|
||||
"no-native-reassign": "error",
|
||||
"no-new": "error",
|
||||
"no-new-func": "error",
|
||||
"no-new-wrappers": "error",
|
||||
|
||||
@@ -15,7 +15,7 @@ describe('iD.serviceMapillary', function() {
|
||||
mapillary = iD.services.mapillary;
|
||||
mapillary.reset();
|
||||
|
||||
/* eslint-disable no-native-reassign */
|
||||
/* eslint-disable no-global-assign */
|
||||
/* mock userAgent */
|
||||
if (isPhantom) {
|
||||
orig = navigator;
|
||||
@@ -35,7 +35,7 @@ describe('iD.serviceMapillary', function() {
|
||||
} else {
|
||||
navigator.__defineGetter__('userAgent', orig);
|
||||
}
|
||||
/* eslint-enable no-native-reassign */
|
||||
/* eslint-enable no-global-assign */
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ describe('iD.uiCmd', function () {
|
||||
uaMock = function () { return ua; };
|
||||
|
||||
beforeEach(function() {
|
||||
/* eslint-disable no-native-reassign */
|
||||
/* eslint-disable no-global-assign */
|
||||
/* mock userAgent */
|
||||
if (isPhantom) {
|
||||
orig = navigator;
|
||||
@@ -23,7 +23,7 @@ describe('iD.uiCmd', function () {
|
||||
} else {
|
||||
navigator.__defineGetter__('userAgent', orig);
|
||||
}
|
||||
/* eslint-enable no-native-reassign */
|
||||
/* eslint-enable no-global-assign */
|
||||
});
|
||||
|
||||
it('does not overwrite mac keybindings', function () {
|
||||
|
||||
Reference in New Issue
Block a user