Remove jshint - move everything over to eslint

Also removed all hints of previous linters
This commit is contained in:
Scott Nonnenberg 2018-07-06 17:48:14 -07:00
parent dc11db92f9
commit 43a44793c5
71 changed files with 1837 additions and 2030 deletions

View file

@ -1,23 +1,27 @@
/* global storage, Whisper */
// eslint-disable-next-line func-names
(function() {
'use strict';
Whisper.Registration = {
markEverDone: function() {
markEverDone() {
storage.put('chromiumRegistrationDoneEver', '');
},
markDone: function() {
markDone() {
this.markEverDone();
storage.put('chromiumRegistrationDone', '');
},
isDone: function() {
isDone() {
return storage.get('chromiumRegistrationDone') === '';
},
everDone: function() {
everDone() {
return (
storage.get('chromiumRegistrationDoneEver') === '' ||
storage.get('chromiumRegistrationDone') === ''
);
},
remove: function() {
remove() {
storage.remove('chromiumRegistrationDone');
},
};