aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-11-12 03:59:35 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-12 08:29:35 +0530
commit53937fd58023ef800bd8ca1cd2b6d2d7bc891834 (patch)
treeea70778761addfaba1732dcb515dabd9f37f09ea /.eslintrc.js
parentUse forked version of 'node-mac-permissions' till the PR gets merged (#2216) (diff)
downloadferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.gz
ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.zst
ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.zip
chore: update eslint deps to latest (#2213)
- update eslint deps to latest - disable new react/function-component-definition rule - fix/disable newly reported issues
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index af9eaef9d..b18927381 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -82,6 +82,7 @@ module.exports = {
82 'react/sort-comp': 0, 82 'react/sort-comp': 0,
83 'react/state-in-constructor': 0, 83 'react/state-in-constructor': 0,
84 'react/static-property-placement': 0, 84 'react/static-property-placement': 0,
85 'react/function-component-definition': 0,
85 // eslint-plugin-jsx-a11y 86 // eslint-plugin-jsx-a11y
86 'jsx-a11y/click-events-have-key-events': 1, 87 'jsx-a11y/click-events-have-key-events': 1,
87 'jsx-a11y/mouse-events-have-key-events': 1, 88 'jsx-a11y/mouse-events-have-key-events': 1,
@@ -165,6 +166,7 @@ module.exports = {
165 'react/static-property-placement': 0, 166 'react/static-property-placement': 0,
166 'react/state-in-constructor': 1, 167 'react/state-in-constructor': 1,
167 'react/sort-comp': 0, 168 'react/sort-comp': 0,
169 'react/function-component-definition': 0,
168 // eslint-plugin-jsx-a11y 170 // eslint-plugin-jsx-a11y
169 'jsx-a11y/click-events-have-key-events': 1, 171 'jsx-a11y/click-events-have-key-events': 1,
170 'jsx-a11y/no-static-element-interactions': 1, 172 'jsx-a11y/no-static-element-interactions': 1,