Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Add `prefer-const` eslint rule

Jason Miller82d33ea91cd8
diff --git a/package.json b/package.json
index 0e032910..08521b0f 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,8 @@
2
],
"object-shorthand": 0,
- "prefer-arrow-callback": 0
+ "prefer-arrow-callback": 0,
+ "prefer-const": 1
}
},
"eslintIgnore": [