feat(linting): add eslint

This commit is contained in:
moklick
2022-08-08 13:34:00 +02:00
parent f5c8a89582
commit 7150e0369e
72 changed files with 531 additions and 130 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import React, { FC, PropsWithChildren } from 'react';
import { FC, PropsWithChildren } from 'react';
import cc from 'classcat';
import { ControlButtonProps } from './types';
+1 -1
View File
@@ -1,4 +1,4 @@
import React, { memo, FC, useEffect, useState, PropsWithChildren } from 'react';
import { memo, FC, useEffect, useState, PropsWithChildren } from 'react';
import cc from 'classcat';
import {
useStore,
-2
View File
@@ -1,5 +1,3 @@
import React from 'react';
function FitViewIcon() {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 30">
-2
View File
@@ -1,5 +1,3 @@
import React from 'react';
function LockIcon() {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 32">
-2
View File
@@ -1,5 +1,3 @@
import React from 'react';
function MinusIcon() {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 5">
-2
View File
@@ -1,5 +1,3 @@
import React from 'react';
function PlusIcon() {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
-2
View File
@@ -1,5 +1,3 @@
import React from 'react';
function UnlockIcon() {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 32">
+1 -2
View File
@@ -13,5 +13,4 @@ export interface ControlProps extends HTMLAttributes<HTMLDivElement> {
position?: PanelPosition;
}
export interface ControlButtonProps
extends ButtonHTMLAttributes<HTMLButtonElement> {}
export type ControlButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;