Fixing eslint errors

This commit is contained in:
Jesús Espino 2021-04-08 10:42:16 +02:00
parent 962f216426
commit 155af1f4b7
4 changed files with 4 additions and 5 deletions

View file

@ -2,6 +2,7 @@
// See LICENSE.txt for license information. // See LICENSE.txt for license information.
import React from 'react' import React from 'react'
import {useDrop} from 'react-dnd' import {useDrop} from 'react-dnd'
import {Card} from '../../blocks/card' import {Card} from '../../blocks/card'
type Props = { type Props = {

View file

@ -1,11 +1,10 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information. // See LICENSE.txt for license information.
/* eslint-disable max-lines */ /* eslint-disable max-lines */
import React, {useRef, useState} from 'react' import React from 'react'
import {IntlShape} from 'react-intl' import {IntlShape} from 'react-intl'
import {useDrop} from 'react-dnd' import {useDrop} from 'react-dnd'
import {IPropertyOption} from '../../blocks/board'
import mutator from '../../mutator' import mutator from '../../mutator'
import {BoardTree, BoardTreeGroup} from '../../viewModel/boardTree' import {BoardTree, BoardTreeGroup} from '../../viewModel/boardTree'
import Button from '../../widgets/buttons/button' import Button from '../../widgets/buttons/button'

View file

@ -1,6 +1,6 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information. // See LICENSE.txt for license information.
import React, {useState} from 'react' import React from 'react'
import {FormattedMessage} from 'react-intl' import {FormattedMessage} from 'react-intl'
import {useDrop, useDragLayer} from 'react-dnd' import {useDrop, useDragLayer} from 'react-dnd'

View file

@ -1,7 +1,6 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information. // See LICENSE.txt for license information.
import React, {useState, useRef} from 'react' import React from 'react'
import {useDrop, useDrag} from 'react-dnd'
import {IPropertyTemplate} from '../../blocks/board' import {IPropertyTemplate} from '../../blocks/board'
import {Constants} from '../../constants' import {Constants} from '../../constants'