aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/.eslintrc.cjs
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-12-09 23:49:07 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-12-11 12:18:43 +0100
commit280a3fab74348697429b7bab56b3436968113d79 (patch)
treee1603153db18f7f35c1bcceb03462409f75002db /subprojects/frontend/.eslintrc.cjs
parentrefactor(frontend): lazy load XtextClient (diff)
downloadrefinery-280a3fab74348697429b7bab56b3436968113d79.tar.gz
refinery-280a3fab74348697429b7bab56b3436968113d79.tar.zst
refinery-280a3fab74348697429b7bab56b3436968113d79.zip
refactor(frontend): split vite config
Also introduces tsconfig.shared.json to keep track of source files used both and build time and in the browser.
Diffstat (limited to 'subprojects/frontend/.eslintrc.cjs')
-rw-r--r--subprojects/frontend/.eslintrc.cjs8
1 files changed, 7 insertions, 1 deletions
diff --git a/subprojects/frontend/.eslintrc.cjs b/subprojects/frontend/.eslintrc.cjs
index eadd3fb4..8a7b474a 100644
--- a/subprojects/frontend/.eslintrc.cjs
+++ b/subprojects/frontend/.eslintrc.cjs
@@ -4,6 +4,7 @@ const path = require('node:path');
4const project = [ 4const project = [
5 path.join(__dirname, 'tsconfig.json'), 5 path.join(__dirname, 'tsconfig.json'),
6 path.join(__dirname, 'tsconfig.node.json'), 6 path.join(__dirname, 'tsconfig.node.json'),
7 path.join(__dirname, 'tsconfig.shared.json'),
7]; 8];
8 9
9/** @type {import('eslint').Linter.Config} */ 10/** @type {import('eslint').Linter.Config} */
@@ -86,7 +87,12 @@ module.exports = {
86 }, 87 },
87 }, 88 },
88 { 89 {
89 files: ['.eslintrc.cjs', 'prettier.config.cjs', 'vite.config.ts'], 90 files: [
91 '.eslintrc.cjs',
92 'config/*.ts',
93 'prettier.config.cjs',
94 'vite.config.ts',
95 ],
90 env: { 96 env: {
91 browser: false, 97 browser: false,
92 node: true, 98 node: true,