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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lots of expected expression errors

barrychapman opened this issue · comments

  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?

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

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