Lint fixes
This commit is contained in:
parent
cb9ba0fe7f
commit
7f958b0ff0
2 changed files with 12 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import classnames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import { Emojify } from './Emojify';
|
import { Emojify } from './Emojify';
|
||||||
import { Avatar } from '../Avatar';
|
import { Avatar } from '../Avatar';
|
||||||
|
@ -72,7 +72,7 @@ export class ConversationHeader extends React.Component<Props> {
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
onClick={onGoBack}
|
onClick={onGoBack}
|
||||||
className={classnames(
|
className={classNames(
|
||||||
'module-conversation-header__back-icon',
|
'module-conversation-header__back-icon',
|
||||||
showBackButton ? 'module-conversation-header__back-icon--show' : null
|
showBackButton ? 'module-conversation-header__back-icon--show' : null
|
||||||
)}
|
)}
|
||||||
|
@ -175,7 +175,7 @@ export class ConversationHeader extends React.Component<Props> {
|
||||||
<ContextMenuTrigger id={triggerId} ref={this.menuTriggerRef}>
|
<ContextMenuTrigger id={triggerId} ref={this.menuTriggerRef}>
|
||||||
<button
|
<button
|
||||||
onClick={this.showMenuBound}
|
onClick={this.showMenuBound}
|
||||||
className={classnames(
|
className={classNames(
|
||||||
'module-conversation-header__gear-icon',
|
'module-conversation-header__gear-icon',
|
||||||
showBackButton
|
showBackButton
|
||||||
? null
|
? null
|
||||||
|
|
|
@ -361,7 +361,7 @@
|
||||||
"rule": "jQuery-append(",
|
"rule": "jQuery-append(",
|
||||||
"path": "js/views/contact_list_view.js",
|
"path": "js/views/contact_list_view.js",
|
||||||
"line": " this.$el.append(this.contactView.el);",
|
"line": " this.$el.append(this.contactView.el);",
|
||||||
"lineNumber": 44,
|
"lineNumber": 46,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2018-10-02T21:18:39.026Z",
|
"updated": "2018-10-02T21:18:39.026Z",
|
||||||
"reasonDetail": "Operating on previously-existing DOM elements"
|
"reasonDetail": "Operating on previously-existing DOM elements"
|
||||||
|
@ -720,7 +720,7 @@
|
||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/key_verification_view.js",
|
"path": "js/views/key_verification_view.js",
|
||||||
"line": " new QRCode(this.$('.qr')[0]).makeCode(",
|
"line": " new QRCode(this.$('.qr')[0]).makeCode(",
|
||||||
"lineNumber": 36,
|
"lineNumber": 39,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2018-09-19T21:59:32.770Z",
|
"updated": "2018-09-19T21:59:32.770Z",
|
||||||
"reasonDetail": "Protected from arbitrary input"
|
"reasonDetail": "Protected from arbitrary input"
|
||||||
|
@ -729,7 +729,7 @@
|
||||||
"rule": "jQuery-wrap(",
|
"rule": "jQuery-wrap(",
|
||||||
"path": "js/views/key_verification_view.js",
|
"path": "js/views/key_verification_view.js",
|
||||||
"line": " dcodeIO.ByteBuffer.wrap(this.ourKey).toString('base64')",
|
"line": " dcodeIO.ByteBuffer.wrap(this.ourKey).toString('base64')",
|
||||||
"lineNumber": 37,
|
"lineNumber": 40,
|
||||||
"reasonCategory": "falseMatch",
|
"reasonCategory": "falseMatch",
|
||||||
"updated": "2018-09-19T18:13:29.628Z"
|
"updated": "2018-09-19T18:13:29.628Z"
|
||||||
},
|
},
|
||||||
|
@ -737,7 +737,7 @@
|
||||||
"rule": "jQuery-insertBefore(",
|
"rule": "jQuery-insertBefore(",
|
||||||
"path": "js/views/key_verification_view.js",
|
"path": "js/views/key_verification_view.js",
|
||||||
"line": " dialog.$el.insertBefore(this.el);",
|
"line": " dialog.$el.insertBefore(this.el);",
|
||||||
"lineNumber": 72,
|
"lineNumber": 75,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2018-09-19T18:13:29.628Z",
|
"updated": "2018-09-19T18:13:29.628Z",
|
||||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||||
|
@ -746,7 +746,7 @@
|
||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/key_verification_view.js",
|
"path": "js/views/key_verification_view.js",
|
||||||
"line": " this.$('button.verify').attr('disabled', true);",
|
"line": " this.$('button.verify').attr('disabled', true);",
|
||||||
"lineNumber": 76,
|
"lineNumber": 79,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2018-09-19T21:59:32.770Z",
|
"updated": "2018-09-19T21:59:32.770Z",
|
||||||
"reasonDetail": "Protected from arbitrary input"
|
"reasonDetail": "Protected from arbitrary input"
|
||||||
|
@ -755,7 +755,7 @@
|
||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/key_verification_view.js",
|
"path": "js/views/key_verification_view.js",
|
||||||
"line": " this.$('button.verify').removeAttr('disabled');",
|
"line": " this.$('button.verify').removeAttr('disabled');",
|
||||||
"lineNumber": 107,
|
"lineNumber": 110,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2018-09-19T21:59:32.770Z",
|
"updated": "2018-09-19T21:59:32.770Z",
|
||||||
"reasonDetail": "Protected from arbitrary input"
|
"reasonDetail": "Protected from arbitrary input"
|
||||||
|
@ -7847,7 +7847,7 @@
|
||||||
"rule": "React-createRef",
|
"rule": "React-createRef",
|
||||||
"path": "ts/components/conversation/ConversationHeader.js",
|
"path": "ts/components/conversation/ConversationHeader.js",
|
||||||
"line": " this.menuTriggerRef = react_1.default.createRef();",
|
"line": " this.menuTriggerRef = react_1.default.createRef();",
|
||||||
"lineNumber": 13,
|
"lineNumber": 14,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2019-03-09T00:08:44.242Z",
|
"updated": "2019-03-09T00:08:44.242Z",
|
||||||
"reasonDetail": "Used only to trigger menu display"
|
"reasonDetail": "Used only to trigger menu display"
|
||||||
|
@ -7856,7 +7856,7 @@
|
||||||
"rule": "React-createRef",
|
"rule": "React-createRef",
|
||||||
"path": "ts/components/conversation/ConversationHeader.tsx",
|
"path": "ts/components/conversation/ConversationHeader.tsx",
|
||||||
"line": " this.menuTriggerRef = React.createRef();",
|
"line": " this.menuTriggerRef = React.createRef();",
|
||||||
"lineNumber": 58,
|
"lineNumber": 59,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2019-03-09T00:08:44.242Z",
|
"updated": "2019-03-09T00:08:44.242Z",
|
||||||
"reasonDetail": "Used only to trigger menu display"
|
"reasonDetail": "Used only to trigger menu display"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue