No description
  • TypeScript 98.7%
  • JavaScript 1%
  • HTML 0.3%
Find a file
Peter Takacs c9935d68f6 chore: upgrade ESLint to strict type-checked config
Switch from tseslint.configs.recommended to strictTypeChecked +
stylisticTypeChecked. Add eslint-plugin-react-x and react-dom.
Fix all resulting lint errors: void expressions, floating promises,
non-null assertions, template literals, and setState-in-effect.
Add tsconfig.test.json for test/e2e/config files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 00:58:52 +02:00
e2e test: add integration and E2E tests 2026-04-15 22:40:09 +02:00
mobile chore: rename project from NFCrypt to NFCeed 2026-04-16 00:52:12 +02:00
public feat: scaffold project and implement crypto module 2026-04-15 22:31:25 +02:00
src chore: upgrade ESLint to strict type-checked config 2026-04-16 00:58:52 +02:00
tests test: add integration and E2E tests 2026-04-15 22:40:09 +02:00
.gitignore chore: add .claude/ to gitignore and remove tracked worktrees 2026-04-16 00:52:28 +02:00
BUILD.txt chore: rename project from NFCrypt to NFCeed 2026-04-16 00:52:12 +02:00
CLAUDE.md chore: rename project from NFCrypt to NFCeed 2026-04-16 00:52:12 +02:00
eslint.config.js chore: upgrade ESLint to strict type-checked config 2026-04-16 00:58:52 +02:00
index.html chore: rename project from NFCrypt to NFCeed 2026-04-16 00:52:12 +02:00
package-lock.json chore: upgrade ESLint to strict type-checked config 2026-04-16 00:58:52 +02:00
package.json chore: upgrade ESLint to strict type-checked config 2026-04-16 00:58:52 +02:00
playwright.config.ts test: add integration and E2E tests 2026-04-15 22:40:09 +02:00
README.md feat: scaffold project and implement crypto module 2026-04-15 22:31:25 +02:00
tsconfig.app.json feat: scaffold project and implement crypto module 2026-04-15 22:31:25 +02:00
tsconfig.json chore: upgrade ESLint to strict type-checked config 2026-04-16 00:58:52 +02:00
tsconfig.node.json feat: scaffold project and implement crypto module 2026-04-15 22:31:25 +02:00
tsconfig.test.json chore: upgrade ESLint to strict type-checked config 2026-04-16 00:58:52 +02:00
vite.config.ts feat: scaffold project and implement crypto module 2026-04-15 22:31:25 +02:00
vitest.config.ts feat: scaffold project and implement crypto module 2026-04-15 22:31:25 +02:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])