diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-26 00:58:34 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-26 00:58:34 +0300 |
commit | 91e1a3b4ccaa822097e4adfea5f51056b010fdd6 (patch) | |
tree | 4fa1c9f027f484b19b19aab8cf50b2025c42efc1 | |
parent | f1cdf02e9c0dca3354f4eebd38edd2ba12075893 (diff) | |
download | commercel-ui-91e1a3b4ccaa822097e4adfea5f51056b010fdd6.tar.gz |
chore: fix ts-eslint rule
-rw-r--r-- | .eslintrc.json | 3 | ||||
-rw-r--r-- | src/services/index.ts | 1 | ||||
-rw-r--r-- | 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'; |