mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
18 lines
407 B
JavaScript
18 lines
407 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,
|
|
])
|