diff options
author | muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com> | 2022-10-27 07:13:47 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 01:43:47 +0000 |
commit | 81c43ecc3d17e0dbf7ad1d949b6d977f2c65bd48 (patch) | |
tree | dfa7c08cb54fb81b7d2e788d350de52c2ebd05d2 /.eslintrc.js | |
parent | 6.2.1-nightly.30 [skip ci] (diff) | |
download | ferdium-app-81c43ecc3d17e0dbf7ad1d949b6d977f2c65bd48.tar.gz ferdium-app-81c43ecc3d17e0dbf7ad1d949b6d977f2c65bd48.tar.zst ferdium-app-81c43ecc3d17e0dbf7ad1d949b6d977f2c65bd48.zip |
fix: 'failed prop' warning in QuickSwitchModal, SettingsNavigation, SettingsWindow and Recipe component tree (#713)
* chore: turn off eslint rule @typescript-eslint/no-useless-constructor to initialize dynamic props & state
Co-authored-by: Muhamed <>
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index fd4ff7516..585cb3e75 100644 --- a/.eslintrc.js +++ b/.eslintrc.js | |||
@@ -73,6 +73,7 @@ module.exports = { | |||
73 | // TODO - [TS DEBT] should remove below config once application converted to TS | 73 | // TODO - [TS DEBT] should remove below config once application converted to TS |
74 | 'react/default-props-match-prop-types': 0, | 74 | 'react/default-props-match-prop-types': 0, |
75 | 'react/require-default-props': 0, | 75 | 'react/require-default-props': 0, |
76 | '@typescript-eslint/no-useless-constructor': 0, | ||
76 | // eslint-plugin-react | 77 | // eslint-plugin-react |
77 | 'react/destructuring-assignment': 0, | 78 | 'react/destructuring-assignment': 0, |
78 | 'react/button-has-type': 0, | 79 | 'react/button-has-type': 0, |