https://github.com/thomasjonstrup/country-quiz
Devchallenges.io - country-quiz
https://github.com/thomasjonstrup/country-quiz
devchallengesio prettier-eslint react react-19 stylelint tanstack-react-query
Last synced: about 2 months ago
JSON representation
Devchallenges.io - country-quiz
- Host: GitHub
- URL: https://github.com/thomasjonstrup/country-quiz
- Owner: thomasjonstrup
- License: mit
- Created: 2025-05-25T20:38:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-25T20:49:09.000Z (about 1 year ago)
- Last Synced: 2025-06-21T00:11:34.650Z (12 months ago)
- Topics: devchallengesio, prettier-eslint, react, react-19, stylelint, tanstack-react-query
- Language: TypeScript
- Homepage: https://country-quiz-tj.netlify.app/
- Size: 519 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
{Your project name} | devChallenges
## Table of Contents
- [Overview](#overview)
- [What I learned](#what-i-learned)
- [Useful resources](#useful-resources)
- [Built with](#built-with)
- [Features](#features)
- [Contact](#contact)
- [Acknowledgements](#acknowledgements)
## Overview

### What I learned
### Useful resources
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- [React](https://reactjs.org/)
- [Tailwind](https://tailwindcss.com/)
## Features
This application/site was created as a submission to a [DevChallenges](https://devchallenges.io/challenges-dashboard) challenge.
## Acknowledgements
## Author
- Website [https://thomasjonstrup.dk](https://thomasjonstrup.dk)
- GitHub [@thomasjonstrup](https://{github.com/thomasjonstrup)
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
```js
export default tseslint.config({
extends: [
// 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,
],
languageOptions: {
// other options...
parserOptions: {
project: ["./tsconfig.node.json", "./tsconfig.app.json"],
tsconfigRootDir: import.meta.dirname,
},
},
});
```
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
```js
// eslint.config.js
import reactX from "eslint-plugin-react-x";
import reactDom from "eslint-plugin-react-dom";
export default tseslint.config({
plugins: {
// Add the react-x and react-dom plugins
"react-x": reactX,
"react-dom": reactDom,
},
rules: {
// other rules...
// Enable its recommended typescript rules
...reactX.configs["recommended-typescript"].rules,
...reactDom.configs.recommended.rules,
},
});
```