diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 18:59:10 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 18:59:10 +0900 |
| commit | c02f0b3b33c833056254b170af8620e9750ae22f (patch) | |
| tree | 66800f0397cefe69bad6966478c8b849a76087bb | |
| parent | enhance(frontend): 通常のRouterViewにTransitionを追加 (diff) | |
| download | misskey-c02f0b3b33c833056254b170af8620e9750ae22f.tar.gz misskey-c02f0b3b33c833056254b170af8620e9750ae22f.tar.bz2 misskey-c02f0b3b33c833056254b170af8620e9750ae22f.zip | |
Update eslint.config.js
| -rw-r--r-- | packages/frontend/eslint.config.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/frontend/eslint.config.js b/packages/frontend/eslint.config.js index e3fba65197..05ac002b53 100644 --- a/packages/frontend/eslint.config.js +++ b/packages/frontend/eslint.config.js @@ -56,7 +56,9 @@ export default [ // open ... window.openと衝突 or 紛らわしい // fetch ... window.fetchと衝突 or 紛らわしい // location ... window.locationと衝突 or 紛らわしい - 'id-denylist': ['warn', 'window', 'e', 'close', 'open', 'fetch', 'location'], + // document ... window.documentと衝突 or 紛らわしい + // history ... window.historyと衝突 or 紛らわしい + 'id-denylist': ['warn', 'window', 'e', 'close', 'open', 'fetch', 'location', 'document', 'history'], 'no-restricted-globals': [ 'error', { @@ -76,6 +78,10 @@ export default [ 'message': 'Use `window.location`.', }, { + 'name': 'document', + 'message': 'Use `window.document`.', + }, + { 'name': 'history', 'message': 'Use `window.history`.', }, |