blakeblackshear.frigate/web
Josh Hawkins 11ff7cb2b7
Use full resolution aspect ratio when available (#11173)
* base recordings and live views off of actual video resolution

* don't set for jsmpeg

* reset when changing main cam

* rename

* Only use resolution for main camera

* fix lint

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2024-04-30 06:52:56 -06:00
..
images Fix site.webmanifest + add svg as favicon (#6304) 2023-05-04 18:04:24 -05:00
public
src Use full resolution aspect ratio when available (#11173) 2024-04-30 06:52:56 -06:00
themes sane colors for themes (#11126) 2024-04-26 14:30:57 -06:00
.eslintrc.cjs
.gitignore
components.json
index.html
package-lock.json Add status bar provider (#11066) 2024-04-22 08:20:23 -06:00
package.json Add status bar provider (#11066) 2024-04-22 08:20:23 -06:00
postcss.config.js
README.md
site.webmanifest
tailwind.config.js New mask/zone editor and motion tuner (#11020) 2024-04-19 05:34:07 -06:00
tsconfig.json
tsconfig.node.json
vite.config.ts

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