Files
regex-vis/eslint.config.mjs
Bowen 9b6d917634 Migrate CRA to Vite and upgrade dependencies (#127)
- [x] Migrate CRA to Vite
- [x] Upgrade node version to 18 in Github actions
- [x] Upgrade node version to 18 in Docker
- [x] Migrate styled-jsx to tailwind
- [x] Upgrade dependencies
  - [x] Upgrade `@sentry/react`. Remove `@sentry/tracing` because we don't need to measure performance by Sentry.
  - [x] Upgrade `jotai`. Add `jotai-immer` because the `jotai` package no longer includes `jotai/immer`.
  - [x] Upgrade `typescirpt`
- [x] Migrate jest to vitest
- [x] Migrate `geist-ui` to `shadcn-ui`
- [x] Check all Todos
2024-08-12 23:31:30 +08:00

9 lines
290 B
JavaScript

import antfu from '@antfu/eslint-config'
export default antfu({ react: true, rules: {
'react-refresh/only-export-components': 'off',
'style/brace-style': ['error', '1tbs'],
'antfu/top-level-function': 'off',
'@typescript-eslint/consistent-type-definitions': ['warn', 'type'],
} })