Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Fix eslint #126

Merged
merged 2 commits into from Mar 9, 2019
Merged

Fix eslint #126

merged 2 commits into from Mar 9, 2019

Conversation

ghost
Copy link

@ghost ghost commented Mar 9, 2019

Apparently eslint wasn't enforcing the SemiStandard coding style because I hadn't configured it properly.

  • Added eslint-plugin-json to lint package.json for errors
  • Replaced new Buffer calls with Buffer.from, it is deprecated in nodejs v6+
  • Added a rule to allow the imports to be aligned i.e. var pkg = require('...')
  • Added the necessary mocha environment flag to test files
  • Fixed all coding style issues

@codemanki codemanki merged commit 77d5673 into codemanki:master Mar 9, 2019
@ghost ghost deleted the eslint branch March 9, 2019 12:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant