FormidableLabs / spectacle-boilerplate

[DEPRECATED] Boilerplate project for getting started with Spectacle Core
579 stars 192 forks source link

Eslint the node-only files. #14

Open ryan-roemer opened 8 years ago

ryan-roemer commented 8 years ago

Maybe want to split eslints to react and node.

kenwheeler commented 8 years ago

Good call

ryan-roemer commented 8 years ago

For reference, I'm using this https://github.com/FormidableLabs/builder-decks/blob/master/.eslintrc-server and I think just removing the disable works straight up for this lint command: https://github.com/FormidableLabs/builder-decks/blob/master/package.json#L12

"lint-server": "eslint --ext .js,.jsx -c .eslintrc-server server.js webpack.*.js",