Lint fixes

This commit is contained in:
Ken Powers 2020-02-07 15:07:43 -05:00 committed by GitHub
parent 3938eb9801
commit 8d4125f0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 5 deletions

View File

@ -188,6 +188,8 @@ export class Lightbox extends React.Component<Props, State> {
public readonly focusRef = React.createRef<HTMLDivElement>();
public previousFocus: any;
public state: State = {};
public componentDidMount() {
this.previousFocus = document.activeElement;

View File

@ -9311,16 +9311,16 @@
"rule": "jQuery-wrap(",
"path": "ts/shims/textsecure.js",
"line": " wrap(textsecure.messaging.sendStickerPackSync([",
"lineNumber": 11,
"lineNumber": 13,
"reasonCategory": "falseMatch",
"updated": "2019-05-02T20:44:56.470Z"
"updated": "2020-02-07T19:52:28.522Z"
},
{
"rule": "jQuery-wrap(",
"path": "ts/shims/textsecure.ts",
"line": " wrap(",
"lineNumber": 60,
"lineNumber": 63,
"reasonCategory": "falseMatch",
"updated": "2019-05-02T20:44:56.470Z"
"updated": "2020-02-07T19:52:28.522Z"
}
]

View File

@ -102,7 +102,16 @@
],
// Adding select dev dependencies here for now, may turn on all in the future
"no-implicit-dependencies": [true, ["dashdash", "electron"]],
"no-implicit-dependencies": [
true,
[
"dashdash",
"electron",
"@storybook/react",
"@storybook/addon-actions",
"@storybook/addon-knobs"
]
],
// Maybe will turn on: