aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-11-18 17:37:45 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-18 22:07:45 +0530
commitb37a6b07b39c8c7827052dc6fb97f490f1e0f514 (patch)
tree0276e7c51f5ebfa14c566def7aac39f014c2291d /.eslintrc.js
parentUpdate github issues template [skip ci] (diff)
downloadferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.gz
ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.zst
ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.zip
chore: convert various files to TS (#2246)
* convert various files to TS * removed outdated docs/example-feature folder * turn off unicorn/no-empty-file * update eslint config
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index b18927381..f7ca7b620 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -83,6 +83,7 @@ module.exports = {
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 'react/function-component-definition': 0,
86 'react/jsx-no-useless-fragment': 0,
86 // eslint-plugin-jsx-a11y 87 // eslint-plugin-jsx-a11y
87 'jsx-a11y/click-events-have-key-events': 1, 88 'jsx-a11y/click-events-have-key-events': 1,
88 'jsx-a11y/mouse-events-have-key-events': 1, 89 'jsx-a11y/mouse-events-have-key-events': 1,
@@ -116,6 +117,8 @@ module.exports = {
116 }, 117 },
117 ], 118 ],
118 'unicorn/consistent-destructuring': 0, 119 'unicorn/consistent-destructuring': 0,
120 // INFO: Turned off due to src/internal-server/database/factory.js
121 'unicorn/no-empty-file': 0,
119 // eslint-plugin-prettier 122 // eslint-plugin-prettier
120 'prettier/prettier': 1, 123 'prettier/prettier': 1,
121 }, 124 },
@@ -167,6 +170,7 @@ module.exports = {
167 'react/state-in-constructor': 1, 170 'react/state-in-constructor': 1,
168 'react/sort-comp': 0, 171 'react/sort-comp': 0,
169 'react/function-component-definition': 0, 172 'react/function-component-definition': 0,
173 'react/jsx-no-useless-fragment': 0,
170 // eslint-plugin-jsx-a11y 174 // eslint-plugin-jsx-a11y
171 'jsx-a11y/click-events-have-key-events': 1, 175 'jsx-a11y/click-events-have-key-events': 1,
172 'jsx-a11y/no-static-element-interactions': 1, 176 'jsx-a11y/no-static-element-interactions': 1,
@@ -189,6 +193,8 @@ module.exports = {
189 }, 193 },
190 ], 194 ],
191 'unicorn/consistent-destructuring': 0, 195 'unicorn/consistent-destructuring': 0,
196 // INFO: Turned off due to src/internal-server/database/factory.js
197 'unicorn/no-empty-file': 0,
192 // eslint-plugin-prettier 198 // eslint-plugin-prettier
193 'prettier/prettier': 1, 199 'prettier/prettier': 1,
194 }, 200 },