From 085204dbdf17f379c9a32ea11660accb51b4311d Mon Sep 17 00:00:00 2001 From: Osmium Sorcerer Date: Mon, 6 Apr 2026 14:48:43 +0000 Subject: Update dependencies and ECMAScript target Fix relevant breaking changes. --- eslint.config.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 eslint.config.js (limited to 'eslint.config.js') diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..a8f4d4f --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,18 @@ +import { defineConfig, globalIgnores } from "eslint/config"; +import eslint from '@eslint/js'; +import tseslint from 'typescript-eslint'; + +export default defineConfig([ + eslint.configs.recommended, + tseslint.configs.recommended, + { + rules: { + "indent": ["warn", 2, { + "SwitchCase": 1, + }], + "no-plusplus": ["error", { + "allowForLoopAfterthoughts": true, + }], + }, + }, globalIgnores(["**/node_modules", "webAO/lib/", "webAO/golden/", "dist/"]) +]); -- cgit