@mcmhomes/panorama-viewer
Version:
Provides React components to render panoramas.
26 lines (24 loc) • 704 B
JavaScript
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginReact from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";
import reactCompiler from "eslint-plugin-react-compiler";
export default [
{
files: ["**/*.{js,mjs,cjs,jsx}"],
languageOptions: { globals: globals.browser },
settings: { react: { version: "detect" } },
},
pluginJs.configs.recommended,
pluginReact.configs.flat.recommended,
reactHooks.configs["recommended-latest"],
reactCompiler.configs.recommended,
{
rules: {
"no-unused-vars": "off",
"no-useless-escape": "off",
"no-empty": "off",
"react/no-unknown-property": "off",
},
},
];