aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/.eslintrc.js
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <marussy@mit.bme.hu>2021-09-17 19:10:19 +0200
committerLibravatar Kristóf Marussy <marussy@mit.bme.hu>2021-09-17 19:10:19 +0200
commitefdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7 (patch)
treec623e8b3fba326dcbb57228f1ddbfbf55eeec494 /language-web/.eslintrc.js
parentAdd ESLint config (diff)
downloadrefinery-efdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7.tar.gz
refinery-efdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7.tar.zst
refinery-efdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7.zip
Frontend color theme
Diffstat (limited to 'language-web/.eslintrc.js')
-rw-r--r--language-web/.eslintrc.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/language-web/.eslintrc.js b/language-web/.eslintrc.js
index bf421f9d..b4c83bb8 100644
--- a/language-web/.eslintrc.js
+++ b/language-web/.eslintrc.js
@@ -21,6 +21,9 @@ module.exports = {
21 // propTypes are for runtime validation, but we rely on TypeScript for build-time validation: 21 // propTypes are for runtime validation, but we rely on TypeScript for build-time validation:
22 // https://github.com/yannickcr/eslint-plugin-react/issues/2275#issuecomment-492003857 22 // https://github.com/yannickcr/eslint-plugin-react/issues/2275#issuecomment-492003857
23 'react/prop-types': 'off', 23 'react/prop-types': 'off',
24 // Make sure switches are exhaustive: https://stackoverflow.com/a/60166264
25 'default-case': 'off',
26 '@typescript-eslint/switch-exhaustiveness-check': 'error',
24 }, 27 },
25 ignorePatterns: [ 28 ignorePatterns: [
26 '*.js', 29 '*.js',