phetsims / phet-lib

Contains built versions of PhET common code libraries
MIT License
1 stars 0 forks source link

support lint #5

Open zepumph opened 6 months ago

zepumph commented 6 months ago

Looks like lint isn't doing anything.

When I apply this patch, no errors are reported from grunt lint


Subject: [PATCH] fix all problems and complexity with getFuzzLightyearParameters
---
Index: js/phet-lib-main.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/phet-lib-main.js b/js/phet-lib-main.js
--- a/js/phet-lib-main.js   (revision f1c37ceff00beaaefde7d7bc3f4df6ce30d05490)
+++ b/js/phet-lib-main.js   (date 1708370286191)
@@ -3,11 +3,10 @@
 /**
  * Used by the manually-built phet-lib package.
  *
- * @author Jonathan Olson <jonathan.olson@colorado.edu>
  */

 // NOTE: Not including mobius, since it requires THREE.js
-
+const x = 'hi';
 import '../../alpenglow/js/main.js';
 import '../../axon/js/main.js';
 import '../../bamboo/js/main.js';