Dmitriy Pleshevskiy
e9c18c9fea
feat(context): add context for request feat(client): add hook for get memo rest client feat(endpoint): add endpoint object for configure rest methods feat(request): add request hook refac(request): return cached data for same query refac(request): remove void variables for endpoints feat(request): add headers to request cache
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
env:
|
|
es6: true
|
|
node: true
|
|
browser: true
|
|
parser: '@typescript-eslint/parser'
|
|
plugins:
|
|
- 'react-hooks'
|
|
extends:
|
|
- 'plugin:react/recommended'
|
|
- 'plugin:react-hooks/recommended'
|
|
- 'plugin:@typescript-eslint/recommended'
|
|
parserOptions:
|
|
ecmaVersion: 2020
|
|
sourceType: 'module'
|
|
ecmaFeatures:
|
|
jsx: true
|
|
settings:
|
|
react:
|
|
version: 'detect'
|
|
rules:
|
|
no-case-declarations: off
|
|
linebreak-style: off
|
|
indent:
|
|
- error
|
|
- 4
|
|
- { "SwitchCase": 1 }
|
|
quotes:
|
|
- error
|
|
- single
|
|
semi:
|
|
- error
|
|
- always
|
|
'@typescript-eslint/no-unused-vars':
|
|
- warn
|
|
- vars: all
|
|
args: after-used
|
|
argsIgnorePattern: ^_
|
|
varsIgnorePattern: ^_
|
|
ignoreRestSiblings: true
|
|
'@typescript-eslint/no-empty-interface': off
|
|
'@typescript-eslint/no-explicit-any': off
|
|
'@typescript-eslint/no-extra-semi': off
|
|
'@typescript-eslint/explicit-function-return-type': off
|
|
'@typescript-eslint/explicit-module-boundary-types': off
|
|
'@typescript-eslint/camelcase': off
|
|
'@typescript-eslint/no-use-before-define': off
|
|
'react/prop-types': off
|
|
'react/display-name': off
|
|
|