UNPKG

use-simple-camera

Version:

A simple and easy to use react hook, it can help you capture videos, images and get media devices streams in an easy to use way.

42 lines 1.07 kB
{ "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react/recommended", "plugin:prettier/recommended", "prettier/@typescript-eslint" ], "plugins": [ "react", "@typescript-eslint", "prettier", "react-hooks", "simple-import-sort" ], "parser": "@typescript-eslint/parser", "env": { "browser": true, "node": true, "es6": true, "jest": true }, "parserOptions": { "sourceType": "module" }, "settings": { "react": { "pragma": "React", "version": "detect" } }, "rules": { "react-hooks/rules-of-hooks": "error", "simple-import-sort/sort": "error", "prettier/prettier": ["error"], "linebreak-style": 0, "camelcase": "off", "endOfLine": 0, "@typescript-eslint/camelcase": [ "error", { "ignoreDestructuring": true } ], "@typescript-eslint/explicit-function-return-type": 0 } }