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
i put a config in package.json and it's in node_modules/.bin/eslint but i don't have a runner set up
how about we run it with npm test before our other tests (of the future) run?
npm test could invoke a script test.sh that looks like this:
#!/usr/bin/env bashecho'eslint should not report any errors...'
./node_modules/.bin/eslint .if [ "$?"!="0" ];thenecho"eslint failed."1>&2exit 1
fiecho'jest tests should pass...'
./node_modules/.bin/jest
if [ "$?"!="0" ];thenecho"jest failed."1>&2exit 1
fi
http://eslint.org/
jshint doesn't like JSX
The text was updated successfully, but these errors were encountered: