PimpTrizkit / PJs

Pimped Javascript - Just a library of my javascript functions, or shims. They are generally built for speed, size, versatility, and portability (copy and paste-able). Readability will be sacrificed. Because they are optimized for usage right out-of-the-box.
GNU Lesser General Public License v3.0
208 stars 25 forks source link

Lots of expected expression errors #6

Open barrychapman opened 2 years ago

barrychapman commented 2 years ago
  Line 6:5:    Expected an assignment or function call and instead saw an expression  no-unused-expressions
  Line 8:10:   Expected an assignment or function call and instead saw an expression  no-unused-expressions
  Line 9:10:   Expected an assignment or function call and instead saw an expression  no-unused-expressions
  Line 10:5:   Expected an assignment or function call and instead saw an expression  no-unused-expressions
  Line 22:9:   Expected an assignment or function call and instead saw an expression  no-unused-expressions
  Line 27:23:  Expected an assignment or function call and instead saw an expression  no-unused-expressions
  Line 28:14:  Expected an assignment or function call and instead saw an expression  no-unused-expressions

Is there a way to fix this without triggering all these pesky errors?

PimpTrizkit commented 2 years ago

Sorry for my late reply... I assume you are talking about pSBC, there have been some changes, so I'm not sure what to which version you are referring.

I am not sure what you are experiencing. I get no errors in Chrome. My functions were not specifically designed for other environments. Maybe you can help?

PT

makis-x commented 3 months ago

This is a linting issue and we get it in ES6 react builds. Not sure how to fix it but using the "un-obfuscated" version in another thread