Prakisoppgave hos Wide Assessment høsten 2023
This repository has been archived on 2024-12-07. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
haraldnilsen df2787406b fetches movie from api
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
2023-08-28 16:29:48 +02:00
public 🎉 first commit 2023-08-28 15:40:33 +02:00
src fetches movie from api 2023-08-28 16:29:48 +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 fetches movie from api 2023-08-28 16:29:48 +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