GoogleCloudPlatform / stackdriver-errors-js

Client-side JavaScript exception reporting library for Cloud Error Reporting
https://cloud.google.com/error-reporting/
Apache License 2.0
362 stars 54 forks source link

Use eslint for javascript linting #55

Closed bz2 closed 5 years ago

bz2 commented 5 years ago

Switch from jshint to eslint as linting dependency. Add basic config with recommended rules and a few extra syntax enforcements.

Use eslint-plugin-mocha for some test specialisation.

Remove gulp lint task.

Remove old demo.min.js file.

Add eslint override comments as needed for now and fix a few issues.

Resolves (half of) #51 along with #54 to change test execution.

steren commented 5 years ago

Thanks!