mapbox / carto

fast CSS-like map stylesheets
https://cartocss.readthedocs.io/
Apache License 2.0
652 stars 129 forks source link

Fix linting #491

Closed talaj closed 6 years ago

talaj commented 6 years ago

Addresses https://github.com/mapbox/carto/issues/489.

The linting in Travis fails due to no-control-regex rule on this line: https://github.com/mapbox/carto/blob/611a498188b7bb831c83a2808fb063b3597a03f9/test/support/diff.js#L58

That regex contains ASCII control characters in \u0000-\u0040. I think it's just fine in the test, so I suppressed that rule.

cc @nebulon42

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 89.453% when pulling 7d011fd5de6344f222373cbcf7c1ed92b46fad73 on mapycz:fix-linting into 611a498188b7bb831c83a2808fb063b3597a03f9 on mapbox:master.

nebulon42 commented 6 years ago

Great, thanks!