From 91e1a3b4ccaa822097e4adfea5f51056b010fdd6 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 26 Mar 2021 00:58:34 +0300 Subject: chore: fix ts-eslint rule --- .eslintrc.json | 3 +++ src/services/index.ts | 1 - src/services/transfers/TransfersUpload.tsx | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 57ece9e..1c01eb3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -9,6 +9,9 @@ }, "ignorePatterns": "dist/", "rules": { + "no-unused-vars": 0, + "@typescript-eslint/no-unused-vars": 0, + "@typescript-eslint/no-unused-vars-experimental": "warn", "jsx-quotes": ["error", "prefer-double"], "quotes": ["error", "single"], "no-multiple-empty-lines": [2, { "max": 2, "maxEOF": 1 } ], diff --git a/src/services/index.ts b/src/services/index.ts index 9d3471b..ade29df 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -4,7 +4,6 @@ import transfers from './transfers'; import products from './products'; import account from './account'; import { registerServiceHooks } from '../hooks/useAPIClient'; -import { ServiceParams } from '../containers/Service/ServiceContext'; const services = [ contractors, diff --git a/src/services/transfers/TransfersUpload.tsx b/src/services/transfers/TransfersUpload.tsx index 18a33b8..aefc72c 100644 --- a/src/services/transfers/TransfersUpload.tsx +++ b/src/services/transfers/TransfersUpload.tsx @@ -1,7 +1,6 @@ import React from 'react'; import { useHistory } from 'react-router-dom'; import { Form, Formik } from 'formik'; -import Button from '../../components/Button'; import Input from '../../components/Input'; import Page from '../../containers/Page'; import { Action } from '../../containers/Service/ServiceContext'; -- cgit v1.2.3