FH-Potsdam / connecting-bits

A project of the seminar input output
ISC License
4 stars 1 forks source link

(Software) Lint javascript with ESLint #71

Closed vogelino closed 8 years ago

vogelino commented 8 years ago

http://eslint.org/

vogelino commented 8 years ago

Maybe we should choose a set of meaningful rules among this eslint plugin list: https://www.npmjs.com/browse/keyword/eslintplugin

PS: I added a eslint config and a gulp task. @Ourelius and @miduku, it would be great if you would follow these steps recommended by @fabiantheblind. I did this and it works like a charm! https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c5b48#.e083y8j8o

vogelino commented 8 years ago

When you're done and the linting works please let me know and I'll close the issue. <3

ff6347 commented 8 years ago

added .babelrc as well. https://babeljs.io/docs/usage/babelrc/

ff6347 commented 8 years ago

into branch dev

miduku commented 8 years ago

Tried it yesterday but haven't got it to work yet. Will get back to you when my PC finally obeys my orders. :weary:

ff6347 commented 8 years ago

This is my current sublime setup https://gist.github.com/fabiantheblind/223d8bdc87bd561b4bb6

miduku commented 8 years ago

linting-problem solved from my side

vogelino commented 8 years ago

:+1: