mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-09 17:45:38 +00:00
8efafc1aaa
* dep bump, enable strictNullChecks ts compiler option * remove unused imports * nullchecks errors wip * fix clipboard func type errors * fix send funds validation * Update style load in ThresholdSettings * Fix isValidAddress default state for SendCollectible * fix OwnersColumn return type * fix extractUsefulMethods typing * Bug: incoming transactions do not load if it fails to fetch gas for a transaction (#1321) * check if gas returned values are valid when loading token info for incoming tx * Fix generateBatchRequests Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> (cherry picked from commit 372d27f5a6a7a485ab65b813f12ffbb2e150490e) * Revert "Revert "Tech debt 1265: Enable strictNullChecks TS compiler option (#1301)" (#1335)" This reverts commit 43bc4984b862b7c9c1037bb2c8850e49429c1c19. * Fix safe clean load Fix transaction nonce get * Fix issue adding owners again after reloading the page * Add viewedSafes correctly to current session * Add typing and reduce dependency with immutable * Rename SerializedSessionState to CurrentSessionState * Remove immutable from currentSession * Use Dispatch type defined using ThunkDispatch * Remove if as parameter should always be defined * Fix test typo issues Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
33 lines
841 B
JavaScript
33 lines
841 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
extends: [
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'prettier/@typescript-eslint',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
plugins: ['react-hooks'],
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
},
|
|
rules: {
|
|
'react-hooks/rules-of-hooks': 'error',
|
|
'react-hooks/exhaustive-deps': 'warn',
|
|
'react/prop-types': 'off',
|
|
'@typescript-eslint/camelcase': 'off',
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect',
|
|
},
|
|
},
|
|
}
|