From a947d5b3cff32104ee009113226feab45439dbdd Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Sat, 28 Jun 2025 09:55:15 +0200 Subject: [mod] theme/simple: improve fmt/lint tech This is one of various PR to refactor the simple theme internally. Replace eslint tool with Biome. I have been using this for quite some time, and it will help us to have more consistent and valid code without extending on other third party plugins. Removes unused dependencies. --- client/simple/eslint.config.js | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 client/simple/eslint.config.js (limited to 'client/simple/eslint.config.js') diff --git a/client/simple/eslint.config.js b/client/simple/eslint.config.js deleted file mode 100644 index 9dde72a84..000000000 --- a/client/simple/eslint.config.js +++ /dev/null @@ -1,34 +0,0 @@ -import globals from "globals"; -import pluginJs from "@eslint/js"; - - -/** @type {import('eslint').Linter.Config[]} */ -export default [ - pluginJs.configs.recommended, - - // global "ignores" - // https://eslint.org/docs/latest/use/configure/configuration-files#globally-ignoring-files-with-ignores - { - ignores: ["node_modules/", "dist/"] - }, - - { - files: [ - "**/*.js", - ], - linterOptions: { - reportUnusedDisableDirectives: "error", - // noInlineConfig: true - }, - languageOptions: { - sourceType: "module", - globals: { - ...globals.browser, - } - }, - rules: { - indent: ["error", 2], - }, - }, - -]; -- cgit v1.2.3