Swap to using eslint (#435)

* WIP

* ... and more

* yet more...

* and examples (more-or-less) fixed

* Only problematic promisify left...

* Last batch

* rm config header

* Update

* Use Record

* Bumps
This commit is contained in:
Jaco Greeff
2019-07-14 11:12:46 +02:00
committed by GitHub
parent 7366c6d280
commit 80db504a3b
261 changed files with 1549 additions and 1731 deletions
+3 -3
View File
@@ -4,14 +4,14 @@
import { isFunction } from '.';
describe('isFunction', () => {
it('returns true on valid functions', () => {
describe('isFunction', (): void => {
it('returns true on valid functions', (): void => {
expect(
isFunction(isFunction)
).toEqual(true);
});
it('returns false on invalid functions', () => {
it('returns false on invalid functions', (): void => {
expect(
isFunction('notAFunction')
).toEqual(false);