diff options
author | 2021-11-19 20:17:56 +0100 | |
---|---|---|
committer | 2021-11-20 03:00:38 +0100 | |
commit | 40ebe0088bc97f644889d915b0524b49d4a21e4c (patch) | |
tree | 3d8a22d8f36634e3ac678f83600d9f443b47bc90 /language-web/.eslintrc.ci.js | |
parent | build: fix cross-project group and version config (diff) | |
download | refinery-40ebe0088bc97f644889d915b0524b49d4a21e4c.tar.gz refinery-40ebe0088bc97f644889d915b0524b49d4a21e4c.tar.zst refinery-40ebe0088bc97f644889d915b0524b49d4a21e4c.zip |
build: upgrade to yarn 3
Also upgrades various frontend dependencies.
We can't upgrade to typescript 4.5 yet, because
https://github.com/yarnpkg/berry/pull/3760 is not released yet.
Diffstat (limited to 'language-web/.eslintrc.ci.js')
-rw-r--r-- | language-web/.eslintrc.ci.js | 9 |
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 | }; |