Prakisoppgave hos Wide Assessment høsten 2023
This repository has been archived on 2024-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
haraldnilsen 48c24a2ff0 🙈 Add gitignore and remove yarn lock
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
2023-08-28 16:00:23 +02:00
public 🎉 first commit 2023-08-28 15:40:33 +02:00
src 🎉 first commit 2023-08-28 15:40:33 +02:00
.eslintrc.cjs 🎉 first commit 2023-08-28 15:40:33 +02:00
.gitignore 🙈 Add gitignore and remove yarn lock 2023-08-28 16:00:23 +02:00
index.html 🎉 first commit 2023-08-28 15:40:33 +02:00
package.json 🎉 first commit 2023-08-28 15:40:33 +02:00
README.md 📝 Update readme 2023-08-28 15:55:31 +02:00
tsconfig.json 🎉 first commit 2023-08-28 15:40:33 +02:00
tsconfig.node.json 🎉 first commit 2023-08-28 15:40:33 +02:00
vite.config.ts 🎉 first commit 2023-08-28 15:40:33 +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:

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:
   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

test