Vonage / vonage-node-sdk

Vonage API client for Node.js. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Apache License 2.0
375 stars 178 forks source link

build: eslint config cleanup #748

Closed manchuck closed 1 year ago

manchuck commented 1 year ago

Consilidated eslint config files and removed tslint

Description

Some of the rules were not enforced correctly. Also, relying on prettier causes some conflicts with eslint fixing. Since prettier was removed, this updates the rules to use eslint. Some other rules for lining jest were added. This will help ensure that testing is enforced correctly.

Motivation and Context

Testing Details

No testing. If you run the linter, there will be 2,980 problems, so do not run a fix on all the files. You can suppress warnings by passing in --quiet npm run lint -- --quiet

Example Output or Screenshots (if appropriate)

Types of changes

Checklist