chore: add/configure eslint

This commit is contained in:
2026-01-10 09:07:15 -03:00
parent 610611e1d9
commit 24f121f1ad
3 changed files with 1450 additions and 2 deletions
+9
View File
@@ -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,
]);
+1435 -1
View File
File diff suppressed because it is too large Load Diff
+6 -1
View File
@@ -16,9 +16,14 @@
"license": "ISC",
"type": "commonjs",
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.0.5",
"eslint": "^9.39.2",
"globals": "^17.0.0",
"jiti": "^2.6.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
},
"dependencies": {
"colorts": "^0.1.63",