Remove `@typescript-eslint/explicit-function-return-type` rule (#17428)

pull/17432/head
Diego Sampaio 5 years ago committed by GitHub
parent da89b4cf9f
commit 536ee971df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .eslintrc
  2. 1
      app/models/server/raw/NotificationQueue.ts
  3. 2
      app/notification-queue/server/NotificationQueue.ts

@ -90,8 +90,7 @@
"@typescript-eslint/interface-name-prefix": [
"error",
"always"
],
"@typescript-eslint/explicit-function-return-type": "off"
]
},
"env": {
"browser": true,

@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import {
Collection,
ObjectId,

@ -53,8 +53,6 @@ class NotificationClass {
return this.worker(counter);
}
console.log('processing', notification._id);
try {
for (const item of notification.items) {
switch (item.type) {

Loading…
Cancel
Save