chore: add/configure eslint
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
import js from "@eslint/js";
|
||||||
|
import globals from "globals";
|
||||||
|
import tseslint from "typescript-eslint";
|
||||||
|
import { defineConfig } from "eslint/config";
|
||||||
|
|
||||||
|
export default defineConfig([
|
||||||
|
{ files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.browser } },
|
||||||
|
tseslint.configs.recommended,
|
||||||
|
]);
|
||||||
Generated
+1435
-1
File diff suppressed because it is too large
Load Diff
+6
-1
@@ -16,9 +16,14 @@
|
|||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@eslint/js": "^9.39.2",
|
||||||
"@types/node": "^25.0.5",
|
"@types/node": "^25.0.5",
|
||||||
|
"eslint": "^9.39.2",
|
||||||
|
"globals": "^17.0.0",
|
||||||
|
"jiti": "^2.6.1",
|
||||||
"tsx": "^4.21.0",
|
"tsx": "^4.21.0",
|
||||||
"typescript": "^5.9.3"
|
"typescript": "^5.9.3",
|
||||||
|
"typescript-eslint": "^8.52.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colorts": "^0.1.63",
|
"colorts": "^0.1.63",
|
||||||
|
|||||||
Reference in New Issue
Block a user