You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a recommended style by standard is pretty: !!spaces, to typecast it to a boolean. Either ways readable but this will make eslint happy and get it back to passing tests.
standard: Use JavaScript Standard Style (https://github.com/feross/standard)
/Users/stanleyzheng/null/mockbin/src/middleware/negotiate-content.js:35:31: Unnecessary use of boolean literals in conditional expression
/Users/stanleyzheng/null/mockbin/src/middleware/negotiate-content.js:35:44: Extra semicolon.
npm ERR! Test failed. See above for more details.
other work around is to specify rules and setup a .eslintrc for the project
The text was updated successfully, but these errors were encountered:
due to https://github.com/Mashape/mockbin/blob/master/src/middleware/negotiate-content.js#L31
a recommended style by standard is
pretty: !!spaces,
to typecast it to a boolean. Either ways readable but this will make eslint happy and get it back to passing tests.other work around is to specify rules and setup a .eslintrc for the project
The text was updated successfully, but these errors were encountered: