Bump eslint
Some checks failed
Check HTML/JS is valid / build (push) Has been cancelled

This commit is contained in:
Will Toohey 2025-12-08 11:31:36 +10:00
parent 24a47f039f
commit 5a6bd01342
3 changed files with 23 additions and 11 deletions

View File

@ -1,9 +0,0 @@
plugins:
- html
env:
browser: true
es2021: true
overrides: []
parserOptions:
ecmaVersion: latest
rules: {}

20
eslint.config.mjs Normal file
View File

@ -0,0 +1,20 @@
import { defineConfig } from "eslint/config";
import html from "eslint-plugin-html";
import globals from "globals";
export default defineConfig([{
plugins: {
html,
},
languageOptions: {
globals: {
...globals.browser,
},
ecmaVersion: "latest",
sourceType: "module",
},
rules: {},
}]);

View File

@ -4,7 +4,8 @@
"description": "Online DLL patcher. This file only exists for eslint.",
"author": "mon",
"devDependencies": {
"eslint": "^8.52.0",
"eslint-plugin-html": "^7.1.0"
"eslint": "^9.39.1",
"eslint-plugin-html": "^8.1.3",
"globals": "^16.5.0"
}
}