1
0
Fork 0

feat: init react app

- bun
- vite
- react
- typescript
- swc
This commit is contained in:
Vojtěch Mareš 2024-06-28 08:18:06 +02:00
parent b76a4133d6
commit 63633cf3c7
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
16 changed files with 329 additions and 0 deletions

18
.eslintrc.cjs Normal file
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 },
],
},
}