[Glitch] Enforce stricter rules for Typescript files

Port c8181eb0a4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2493/head
Renaud Chaput 2023-05-09 03:11:56 +02:00 committed by Claire
parent 542f2fb1e0
commit 0b1556b7f7
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import Check from 'flavours/glitch/components/check';
import { Check } from 'flavours/glitch/components/check';
import classNames from 'classnames';
const ProgressIndicator = ({ steps, completed }) => (

View File

@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import Icon from 'flavours/glitch/components/icon';
import Check from 'flavours/glitch/components/check';
import { Icon } from 'flavours/glitch/components/icon';
import { Check } from 'flavours/glitch/components/check';
const Step = ({ label, description, icon, completed, onClick, href }) => {
const content = (

View File

@ -7,7 +7,7 @@ import { connect } from 'react-redux';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { defineMessages, injectIntl, FormattedMessage, FormattedHTMLMessage } from 'react-intl';
import classNames from 'classnames';
import Icon from 'flavours/glitch/components/icon';
import { Icon } from 'flavours/glitch/components/icon';
import ArrowSmallRight from './components/arrow_small_right';
import { Link } from 'react-router-dom';
import SwipeableViews from 'react-swipeable-views';