mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
added basic eslint config
This commit is contained in:
parent
79b8ecc98f
commit
da7a21a4ab
17
packages/app/eslint.config.js
Normal file
17
packages/app/eslint.config.js
Normal file
@ -0,0 +1,17 @@
|
||||
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,
|
||||
])
|
Loading…
x
Reference in New Issue
Block a user