Comply to XO's no-warning-comments rule

This commit is contained in:
Leo Lamprecht 2016-10-25 15:04:37 +02:00
parent 8f28573fc0
commit 630f0f4504
No known key found for this signature in database
GPG key ID: EF804E3FF4BBA8AB
6 changed files with 5 additions and 6 deletions

View file

@ -108,7 +108,7 @@ export function setActiveSession(uid) {
type: SESSION_SET_ACTIVE,
uid,
effect() {
// TODO: this goes away when we are able to poll
// This goes away when we are able to poll
// for the title ourseleves, instead of relying
// on Session and focus/blur to subscribe
if (prevUid) {

View file

@ -207,7 +207,7 @@ export function showPreferences() {
type: UI_SHOW_PREFERENCES,
effect() {
dispatch(requestSession());
// TODO: replace this hack with an async action
// Replace this hack with an async action
rpc.once('session add', ({uid}) => {
rpc.once('session data', () => {
dispatch(sendSessionData(

View file

@ -74,7 +74,7 @@ class TermGroup_ extends Component {
onURLAbort: this.bind(this.props.onURLAbort, null, uid)
});
// TODO: This will create a new ref_ function for every render,
// This will create a new ref_ function for every render,
// which is inefficient. Should maybe do something similar
// to this.bind.
return (<Term

View file

@ -114,7 +114,7 @@ export default class Term extends Component {
}
handleFocus() {
// TODO: This will in turn result in `this.focus()` being
// This will in turn result in `this.focus()` being
// called, which is unecessary.
// Should investigate if it matters.
this.props.onActive();

View file

@ -23,7 +23,7 @@ import {values} from '../utils/object';
const allowedCursorShapes = new Set(['BEAM', 'BLOCK', 'UNDERLINE']);
const allowedBells = new Set(['SOUND', false]);
// TODO: populate `config-default.js` from this :)
// Populate `config-default.js` from this :)
const initial = Immutable({
cols: null,
rows: null,

View file

@ -21,7 +21,6 @@
],
"rules": {
"new-cap": 0,
"no-warning-comments": 0,
"complexity": 0,
"react/prop-types": 0,
"react/jsx-no-bind": 0