Added linting to the package to maintain a persistent coding style. The eslint config is copied from gobble core. The concat() function is removed from index.js because it isn't used anywhere.
Added basic structure for testing with mocha. I also added a simple test case that currently fails due to #6.
I try to stick with the coding style and file structure used by @Rich-Harris as much as possible, but the eslint rule doesn't check everything.
This PR does two things:
concat()
function is removed fromindex.js
because it isn't used anywhere.I try to stick with the coding style and file structure used by @Rich-Harris as much as possible, but the eslint rule doesn't check everything.