aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/.eslintrc.js
diff options
context:
space:
mode:
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',