botblock / BotBlock.org

BotBlock - The List of Discord Bot Lists and Services
https://botblock.org/
Mozilla Public License 2.0
28 stars 8 forks source link

Add eslint to the test suite #21

Closed MattIPv4 closed 5 years ago

MattIPv4 commented 5 years ago

Website/API Suggestion

Description

We should add eslint to the test suite with a full rule set based off of the existing code style of the project (pretty standard). If there exists an eslint plugin for pug, we should also make use of that.

Why

Consistent code style.

VivekSingh777 commented 5 years ago

Can i work on this @MattIPv4 ?

MattIPv4 commented 5 years ago

Sure thing, absolutely @VivekSingh777

MattIPv4 commented 5 years ago

Config & test added in https://github.com/botblock/BotBlock.org/pull/25 Fixing existing errors in https://github.com/botblock/BotBlock.org/pull/26

Can then merge eslint into node.