From 8464f20370705195c1c0cf83c9155623ebbe2a2b Mon Sep 17 00:00:00 2001 From: f0x Date: Wed, 6 Nov 2024 15:55:00 +0100 Subject: [PATCH] rename eslint config to js --- web/source/{eslint.config.cjs => eslint.config.js} | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename web/source/{eslint.config.cjs => eslint.config.js} (88%) diff --git a/web/source/eslint.config.cjs b/web/source/eslint.config.js similarity index 88% rename from web/source/eslint.config.cjs rename to web/source/eslint.config.js index 77847614f..f135f37f5 100644 --- a/web/source/eslint.config.cjs +++ b/web/source/eslint.config.js @@ -24,17 +24,17 @@ module.exports = [ parserOptions: { project: true, ecmaFeatures: { - jsx: true - } - } + jsx: true, + }, + }, }, plugins: { "license-header": require("eslint-plugin-license-header"), - "only-warn": require("eslint-plugin-only-warn") + "only-warn": require("eslint-plugin-only-warn"), }, rules: { - "license-header/header": ["error", __dirname + "/.license-header.js"] - } + "license-header/header": ["error", __dirname + "/.license-header.js"], + }, }, - ...require("@f0x52/eslint-config") + ...require("@f0x52/eslint-config"), ]; \ No newline at end of file