mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
Fix linter warnings
This commit is contained in:
parent
3c43db4d86
commit
32e900f1d0
5 changed files with 4 additions and 10 deletions
|
@ -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
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue