diff --git a/web/source/eslint.config.cjs b/web/source/eslint.config.cjs index c6422a7b6..77847614f 100644 --- a/web/source/eslint.config.cjs +++ b/web/source/eslint.config.cjs @@ -29,7 +29,8 @@ module.exports = [ } }, plugins: { - "license-header": require("eslint-plugin-license-header") + "license-header": require("eslint-plugin-license-header"), + "only-warn": require("eslint-plugin-only-warn") }, rules: { "license-header/header": ["error", __dirname + "/.license-header.js"] diff --git a/web/source/package.json b/web/source/package.json index 63816ec74..cd24ebed8 100644 --- a/web/source/package.json +++ b/web/source/package.json @@ -47,7 +47,7 @@ "@babel/preset-typescript": "^7.24.1", "@browserify/envify": "^6.0.0", "@browserify/uglifyify": "^6.0.0", - "@f0x52/eslint-config": "^2.0.9", + "@f0x52/eslint-config": "^2.0.11", "@types/html-to-text": "^9.0.4", "@types/is-valid-domain": "^0.0.2", "@types/papaparse": "^5.3.9", @@ -62,6 +62,7 @@ "css-extract": "^2.0.0", "eslint": "^9.14.0", "eslint-plugin-license-header": "^0.6.0", + "eslint-plugin-only-warn": "^1.1.0", "factor-bundle": "^2.5.0", "icssify": "^2.0.0", "postcss": "^8.4.18", @@ -73,4 +74,4 @@ "typescript": "^5.6.3", "typia": "^6.11.3" } -} \ No newline at end of file +} diff --git a/web/source/yarn.lock b/web/source/yarn.lock index 086e8f600..5ca05ef5a 100644 --- a/web/source/yarn.lock +++ b/web/source/yarn.lock @@ -1345,10 +1345,10 @@ dependencies: levn "^0.4.1" -"@f0x52/eslint-config@^2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@f0x52/eslint-config/-/eslint-config-2.0.9.tgz#96320799d6c1ecaabd663091a796a765ca075869" - integrity sha512-4XiXUe6wMm5btpMBXpkB90W6aSl4EtuUSmswc9LtsByTvmYQ4+dn0zXoRh2WkWzvZx/VHFIxqu73BMeHHzBDxg== +"@f0x52/eslint-config@^2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@f0x52/eslint-config/-/eslint-config-2.0.11.tgz#a8f1cdc057344b6fa61794b7bea437f0b6e269c5" + integrity sha512-QsNeb3uQ/CR5XNKbI98ThchD2vj4IjMh8oEMoFQiB7ae51NCUruSQiE91hq4IvvXGZy4li61loavO4avbm6DJA== dependencies: "@eslint/js" "^9.11.0" "@stylistic/eslint-plugin" "^2.8.0" @@ -3541,6 +3541,11 @@ eslint-plugin-license-header@^0.6.0: dependencies: requireindex "^1.2.0" +eslint-plugin-only-warn@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-only-warn/-/eslint-plugin-only-warn-1.1.0.tgz#c6ddc37ddc4e72c121f07be565fcb7b6671fe78a" + integrity sha512-2tktqUAT+Q3hCAU0iSf4xAN1k9zOpjK5WO8104mB0rT/dGhOa09582HN5HlbxNbPRZ0THV7nLGvzugcNOSjzfA== + eslint-scope@^8.2.0: version "8.2.0" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.2.0.tgz#377aa6f1cb5dc7592cfd0b7f892fd0cf352ce442"