aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/.eslintrc.ci.js
diff options
context:
space:
mode:
Diffstat (limited to 'language-web/.eslintrc.ci.js')
-rw-r--r--language-web/.eslintrc.ci.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/language-web/.eslintrc.ci.js b/language-web/.eslintrc.ci.js
index d0fb9e98..b27feb0e 100644
--- a/language-web/.eslintrc.ci.js
+++ b/language-web/.eslintrc.ci.js
@@ -24,10 +24,17 @@ module.exports = {
24 // Make sure switches are exhaustive: https://stackoverflow.com/a/60166264 24 // Make sure switches are exhaustive: https://stackoverflow.com/a/60166264
25 'default-case': 'off', 25 'default-case': 'off',
26 '@typescript-eslint/switch-exhaustiveness-check': 'error', 26 '@typescript-eslint/switch-exhaustiveness-check': 'error',
27 // https://github.com/airbnb/javascript/pull/2501
28 'react/function-component-definition': ['error', {
29 namedComponents: 'function-expression',
30 namedComponents: 'function-declaration',
31 }],
32 },
33 env: {
34 browser: true,
27 }, 35 },
28 ignorePatterns: [ 36 ignorePatterns: [
29 '*.js', 37 '*.js',
30 'build/**/*', 38 'build/**/*',
31 'node_modules/**/*',
32 ], 39 ],
33}; 40};