UNPKG

refunjs

Version:

Modern React-based framework for building scalable web applications with enhanced developer experience

34 lines (32 loc) 710 B
import js from "@eslint/js"; import globals from "globals"; import tseslint from "typescript-eslint"; import pluginReact from "eslint-plugin-react"; import { defineConfig } from "eslint/config"; export default defineConfig([ { files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"], languageOptions: { globals: { ...globals.browser, ...globals.node } }, settings: { react: { version: "detect" } }, plugins: { react: pluginReact }, extends: [ js.configs.recommended, ...tseslint.configs.recommended, pluginReact.configs.flat.recommended ], rules: { "react/react-in-jsx-scope": "off" } } ]);