blockchain-IoT / Motoro

Smart contracts for decentralized rentals of vehicles.
https://www.toptal.com/ethereum/motoro-iot-in-transportation
MIT License
107 stars 39 forks source link

Add linting with eslint for Airbnb style guide #26

Closed michalmikolajczyk closed 6 years ago

michalmikolajczyk commented 6 years ago

As lead developer, To achieve consistency and integrity across code And avoid code smells I request the addition of a linter like eslint https://eslint.org/docs/user-guide/configuring And support for Airbnb style https://github.com/airbnb/javascript

ganes1410 commented 6 years ago

I'll do this. @michalmikolajczyk

michalmikolajczyk commented 6 years ago

@ganes1410 #33 broke the project. There seem to be conflicting dependencies, and updates require major version changes of other packages incl. webpack.

Please submit a working eslint config. Basically npm start should compile and serve the project without errors.

ganes1410 commented 6 years ago

my bad @michalmikolajczyk .i will open a new pull request.

ganes1410 commented 6 years ago

@michalmikolajczyk i tried to add the linting.But because some of the npm packages are old.They are not compatible.And that's what broke the project.