Debugging tool for time-based one-time password (TOTP). https://totp.fyi
Find a file
2024-04-07 03:03:48 -04:00
src Add copying support 2024-04-07 03:03:48 -04:00
.eslintrc.cjs Add basic app skeleton 2024-04-06 22:54:44 -04:00
.gitignore Add basic app skeleton 2024-04-06 22:54:44 -04:00
index.html Add basic styling 2024-04-07 01:04:16 -04:00
package-lock.json Add copying support 2024-04-07 03:03:48 -04:00
package.json Add copying support 2024-04-07 03:03:48 -04:00
README.md Add basic app skeleton 2024-04-06 22:54:44 -04:00
tsconfig.json Add copying support 2024-04-07 03:03:48 -04:00
tsconfig.node.json Add basic app skeleton 2024-04-06 22:54:44 -04:00
vite.config.ts Add copying support 2024-04-07 03:03:48 -04: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:

Expanding the ESLint configuration

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

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list