Set up new frontend with Vite, TypeScript and React (#563)

This commit is contained in:
Alejandra
2023-11-30 16:16:32 -05:00
committed by GitHub
parent 1864e7e5b0
commit 28808e071c
15 changed files with 4799 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}