mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-04 13:27:21 +08:00 
			
		
		
		
	Fix linter warnings
This commit is contained in:
		@ -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';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user