Fix linter warnings

This commit is contained in:
Gabe Kangas 2022-06-29 14:12:31 -07:00
parent 3c43db4d86
commit 32e900f1d0
No known key found for this signature in database
GPG key ID: 9A56337728BC81EA
5 changed files with 4 additions and 10 deletions

View file

@ -37,7 +37,7 @@ module.exports = {
'@typescript-eslint/no-unused-vars': 'error',
'no-console': 'off',
'no-use-before-define': [0],
'@typescript-eslint/no-use-before-define': [1],
'@typescript-eslint/no-use-before-define': [0],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'no-restricted-exports': 'off',

File diff suppressed because one or more lines are too long

View file

@ -8,7 +8,6 @@ export default {
parameters: {},
} as ComponentMeta<typeof Footer>;
// eslint-disable-next-line @typescript-eslint/no-unused-Footer
const Template: ComponentStory<typeof Footer> = args => <Footer {...args} />;
// eslint-disable-next-line @typescript-eslint/no-unused-vars

View file

@ -14,12 +14,6 @@ export function ImageAsset(props: ImageAssetProps) {
margin: '0.3vw',
};
const colorBlockStyle = {
height: '70%',
width: '100%',
backgroundColor: 'white',
};
const colorDescriptionStyle = {
textAlign: 'center' as 'center',
color: 'gray',

View file

@ -1,4 +1,4 @@
import React, { useState } from 'react';
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import Modal from '../components/ui/Modal/Modal';