Fix tslint errors and add tslint to CI task in package.json

pull/1/head
Scott Nonnenberg 7 years ago
parent be91a89d68
commit 1052341d79
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

@ -5,7 +5,7 @@ interface IProps {
/**
* Corresponds to the theme setting in the app, and the class added to the root element.
*/
theme: "ios" | "android" | "android-dark";
theme: 'ios' | 'android' | 'android-dark';
}
/**

@ -1,5 +1,9 @@
import qs from 'qs';
import moment from 'moment';
import qs from 'qs';
import React from 'react';
import ReactDOM from 'react-dom';
// Helper components used in the styleguide, exposed at 'util' in the global scope via the
// context option in react-styleguidist.
@ -9,9 +13,6 @@ export { BackboneWrapper } from './BackboneWrapper';
// Here we can make things inside Webpack available to Backbone views like preload.js.
import React from 'react';
import ReactDOM from 'react-dom';
import { Message } from '../conversation/Message';
import { Reply } from '../conversation/Reply';

@ -12,7 +12,7 @@
"main": "main.js",
"scripts": {
"postinstall": "electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
"test": "yarn eslint && yarn test-server && grunt test && yarn test-app && yarn test-modules",
"test": "yarn eslint && yarn tslint && yarn test-server && grunt test && yarn test-app && yarn test-modules",
"lint": "grunt jshint",
"start": "electron .",
"asarl": "asar l release/mac/Signal.app/Contents/Resources/app.asar",

Loading…
Cancel
Save