Skip to content

Add ESLint and fix linting errors #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 23, 2016
Merged

Add ESLint and fix linting errors #2

merged 2 commits into from
Aug 23, 2016

Conversation

remarkablemark
Copy link
Owner

Resolves #1

Tasks:

  • Add ESLint as the default linter
  • Fix linting errors in lib and test and a bug in test

- Create `.eslintrc` and `.eslintignore`
- Add the above files to `.npmignore`
- Save `eslint` to devDependencies
- Create task `npm run lint` that lints `lib` and `test` directory

Documentation: http://eslint.org
Also fix a bug in test helpers in which `util` was not required.
@remarkablemark remarkablemark added the feature New feature or request label Aug 23, 2016
@remarkablemark remarkablemark self-assigned this Aug 23, 2016
@remarkablemark remarkablemark changed the title Create lint task (#1) Create lint task Aug 23, 2016
@remarkablemark remarkablemark changed the title Create lint task Add ESLint and fix linting errors Aug 23, 2016
@remarkablemark remarkablemark merged commit 572f1f5 into master Aug 23, 2016
@remarkablemark remarkablemark deleted the lint branch August 23, 2016 16:28
@remarkablemark remarkablemark removed the feature New feature or request label Aug 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant