Apply new lint rules to yet more packages (#15548)

* Apply new lint rules to yet more packages

* Fix leaflet lint
This commit is contained in:
Andy
2017-03-31 11:01:26 -07:00
committed by GitHub
parent 2aa40c2ca7
commit b6c343f2b3
114 changed files with 1727 additions and 1678 deletions
+3 -3
View File
@@ -10,9 +10,9 @@ declare namespace serializeJavascript {
* It can be used to add whitespace and indentation to the serialized output to make it more readable.
*/
space?: string | number | undefined;
/**
* This option is a signal to serialize() that the object being serialized does not contain any function or regexps values.
* This enables a hot-path that allows serialization to be over 3x faster.
/**
* This option is a signal to serialize() that the object being serialized does not contain any function or regexps values.
* This enables a hot-path that allows serialization to be over 3x faster.
* If you're serializing a lot of data, and know its pure JSON, then you can enable this option for a speed-up.
*/
isJSON?: boolean;