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 readonly focusRef = React.createRef<HTMLDivElement>();
public previousFocus: any; public previousFocus: any;
public state: State = {};
public componentDidMount() { public componentDidMount() {
this.previousFocus = document.activeElement; this.previousFocus = document.activeElement;

View File

@ -9311,16 +9311,16 @@
"rule": "jQuery-wrap(", "rule": "jQuery-wrap(",
"path": "ts/shims/textsecure.js", "path": "ts/shims/textsecure.js",
"line": " wrap(textsecure.messaging.sendStickerPackSync([", "line": " wrap(textsecure.messaging.sendStickerPackSync([",
"lineNumber": 11, "lineNumber": 13,
"reasonCategory": "falseMatch", "reasonCategory": "falseMatch",
"updated": "2019-05-02T20:44:56.470Z" "updated": "2020-02-07T19:52:28.522Z"
}, },
{ {
"rule": "jQuery-wrap(", "rule": "jQuery-wrap(",
"path": "ts/shims/textsecure.ts", "path": "ts/shims/textsecure.ts",
"line": " wrap(", "line": " wrap(",
"lineNumber": 60, "lineNumber": 63,
"reasonCategory": "falseMatch", "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 // 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: // Maybe will turn on: