Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions ui/.parcelrc

This file was deleted.

3 changes: 0 additions & 3 deletions ui/babel.config.js

This file was deleted.

25 changes: 25 additions & 0 deletions ui/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import pluginReact from 'eslint-plugin-react';
import tseslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';

/** @type {import('eslint').Linter.Config[]} */
export default [
Expand All @@ -16,6 +18,29 @@ export default [
'no-undef': 'warn',
},
},
{
files: ['**/*.{ts,tsx}'],
languageOptions: {
globals: globals.browser,
parser: tsParser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
},
plugins: {
'@typescript-eslint': tseslint,
},
rules: {
...tseslint.configs.recommended.rules,
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'no-undef': 'off',
},
},
pluginReact.configs.flat.recommended,
{
settings: {
Expand Down
Loading