behaviorbot / sentiment-bot

Replies to toxic comments with a maintainer designated reply and a link to the repo's code of conduct
https://github.com/apps/sentiment-bot
MIT License
83 stars 12 forks source link

Swap to standard based linter. Closes #13 #14

Closed peterblazejewicz closed 7 years ago

peterblazejewicz commented 7 years ago

This commits replaces linting based on xo module with the standard module. At the same time the commit includes automated fixes required to pass test checks according to new rules imposed by standard module.

Read #13 comments on why "eslint-plugin-import" has been added as dependency.

Thanks!

➜  sentiment-bot git:(feat/13) npm test

> sentiment-bot@1.0.0 test /Users/piotrblazejewicz/git/sentiment-bot
> mocha && standard

  sentiment-bot
    sentiment-bot success
      ✓ posts a comment because the user was toxic
    sentiment-bot fail
      ✓ does not post a comment because the user was not toxic

  2 passing (59ms
welcome[bot] commented 7 years ago

Thanks so much for opening your first PR here!

update-docs[bot] commented 7 years ago

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes.

welcome[bot] commented 7 years ago

Congrats on merging your first pull request here! :tada: How awesome!