Unleash eslint on message_receiver.js - lots of change

This commit is contained in:
Scott Nonnenberg 2018-04-10 10:23:09 -07:00
parent 21bf02c94d
commit e69586200a
No known key found for this signature in database
GPG key ID: 5F82280C35134661
4 changed files with 1022 additions and 946 deletions

View file

@ -2,9 +2,9 @@ build/**
components/**
coverage/**
dist/**
libtextsecure/**
# these aren't ready yet, pulling files in one-by-one
libtextsecure/**
js/*.js
js/models/**/*.js
js/views/**/*.js
@ -30,6 +30,7 @@ ts/**/*.js
!js/views/inbox_view.js
!js/views/message_view.js
!js/views/settings_view.js
!libtextsecure/message_receiver.js
!main.js
!preload.js
!prepare_build.js

View file

@ -112,6 +112,7 @@ module.exports = function(grunt) {
'!js/views/debug_log_view.js',
'!js/views/message_view.js',
'!js/WebAudioRecorderMp3.js',
'!libtextsecure/message_receiver.js',
'_locales/**/*'
],
options: { jshintrc: '.jshintrc' },

File diff suppressed because it is too large Load diff

View file

@ -34,7 +34,7 @@ window.Signal.Migrations = {
transaction.db.createObjectStore('conversations');
next();
},
version: 1
version: 1,
}],
loadAttachmentData: attachment => Promise.resolve(attachment),
};