This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
parserOptions
property like this:export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
tseslint.configs.recommended
to tseslint.configs.recommendedTypeChecked
or tseslint.configs.strictTypeChecked
...tseslint.configs.stylisticTypeChecked
// eslint.config.js
import react from 'eslint-plugin-react'
export default tseslint.config({
// Set the react version
settings: { react: { version: '18.3' } },
plugins: {
// Add the react plugin
react,
},
rules: {
// other rules...
// Enable its recommended rules
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
})
A customizable OTP (One-Time Password) generator built with React, Vite, TypeScript, and Tailwind CSS. This application allows users to generate secure OTPs with configurable options such as length and inclusion of uppercase letters, lowercase letters, and special characters. It features a responsive design, a user-friendly interface, and easy deployment on GitHub Pages.
git clone https://github.com/vivekhegde2000/otp-generator.git
cd otp-generator
npm install
npm run dev
http://localhost:5173
to see the OTP generator in action.This project is licensed under the MIT License.
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.
If you have any questions or feedback, please feel free to contact me at [vivekhegdehalasarige@gmail.com].