mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
added eslit
This commit is contained in:
parent
a276a35b36
commit
7d248495d8
15
packages/server/eslint.config.mjs
Normal file
15
packages/server/eslint.config.mjs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import js from "@eslint/js"
|
||||||
|
import globals from "globals"
|
||||||
|
import { defineConfig } from "eslint/config"
|
||||||
|
|
||||||
|
export default defineConfig([
|
||||||
|
{
|
||||||
|
files: ["**/*.{js,mjs,cjs}"],
|
||||||
|
plugins: { js },
|
||||||
|
extends: ["js/recommended"],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: ["**/*.{js,mjs,cjs}"],
|
||||||
|
languageOptions: { globals: globals.browser },
|
||||||
|
},
|
||||||
|
])
|
@ -40,7 +40,10 @@
|
|||||||
"tree-kill": "^1.2.2"
|
"tree-kill": "^1.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@eslint/js": "^9.26.0",
|
||||||
"chai": "^5.1.0",
|
"chai": "^5.1.0",
|
||||||
|
"eslint": "^9.26.0",
|
||||||
|
"globals": "^16.1.0",
|
||||||
"mocha": "^10.3.0"
|
"mocha": "^10.3.0"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user