Fix tslint errors and add tslint to CI task in package.json
This commit is contained in:
parent
be91a89d68
commit
1052341d79
3 changed files with 7 additions and 6 deletions
|
@ -5,7 +5,7 @@ interface IProps {
|
||||||
/**
|
/**
|
||||||
* Corresponds to the theme setting in the app, and the class added to the root element.
|
* 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 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
|
// Helper components used in the styleguide, exposed at 'util' in the global scope via the
|
||||||
// context option in react-styleguidist.
|
// 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.
|
// 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 { Message } from '../conversation/Message';
|
||||||
import { Reply } from '../conversation/Reply';
|
import { Reply } from '../conversation/Reply';
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
|
"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",
|
"lint": "grunt jshint",
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"asarl": "asar l release/mac/Signal.app/Contents/Resources/app.asar",
|
"asarl": "asar l release/mac/Signal.app/Contents/Resources/app.asar",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue