summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-03-20 15:43:35 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-03-20 15:43:35 +0900
commitfac59d75e2fb8c0e18aaceb89ba99986eed7b8e1 (patch)
tree1cfd323f880b013c433cdd6eb0ef440c3f06c8db /packages
parentclean up console (diff)
downloadmisskey-fac59d75e2fb8c0e18aaceb89ba99986eed7b8e1.tar.gz
misskey-fac59d75e2fb8c0e18aaceb89ba99986eed7b8e1.tar.bz2
misskey-fac59d75e2fb8c0e18aaceb89ba99986eed7b8e1.zip
lint(frontend): relax id-denylist rule
Diffstat (limited to 'packages')
-rw-r--r--packages/frontend/eslint.config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/eslint.config.js b/packages/frontend/eslint.config.js
index fa2fcce95a..30ee1e651e 100644
--- a/packages/frontend/eslint.config.js
+++ b/packages/frontend/eslint.config.js
@@ -50,13 +50,13 @@ export default [
// defineExposeが誤検知されてしまう
'@typescript-eslint/no-unused-expressions': 'off',
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
- // window の禁止理由: グローバルスコープと衝突し、予期せぬ結果を招くため
- // e の禁止理由: error や event など、複数のキーワードの頭文字であり分かりにくいため
+ // window ... グローバルスコープと衝突し、予期せぬ結果を招くため
+ // e ... error や event など、複数のキーワードの頭文字であり分かりにくいため
// close ... window.closeと衝突 or 紛らわしい
// open ... window.openと衝突 or 紛らわしい
// fetch ... window.fetchと衝突 or 紛らわしい
// location ... window.locationと衝突 or 紛らわしい
- 'id-denylist': ['error', 'window', 'e', 'close', 'open', 'fetch', 'location'],
+ 'id-denylist': ['warn', 'window', 'e', 'close', 'open', 'fetch', 'location'],
'no-shadow': ['warn'],
'vue/attributes-order': ['error', {
alphabetical: false,