mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-17 22:44:17 +00:00
24 lines
502 B
JavaScript
24 lines
502 B
JavaScript
import js from "@eslint/js"
|
|
import globals from "globals"
|
|
import pluginReact from "eslint-plugin-react"
|
|
import { defineConfig } from "eslint/config"
|
|
|
|
export default defineConfig([
|
|
{
|
|
files: ["**/*.{js,mjs,cjs,jsx}"],
|
|
plugins: { js },
|
|
extends: ["js/recommended"],
|
|
},
|
|
{
|
|
files: ["**/*.{js,mjs,cjs,jsx}"],
|
|
languageOptions: { globals: globals.browser },
|
|
},
|
|
pluginReact.configs.flat.recommended,
|
|
{
|
|
rules: {
|
|
"react/jsx-uses-react": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
},
|
|
},
|
|
])
|