-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: lint #4
base: main
Are you sure you want to change the base?
fix: lint #4
Conversation
src/js/core/mixin.js
Outdated
@@ -1,3 +1,4 @@ | |||
// eslint-disable-next-line @typescript-eslint/no-extraneous-class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不要關掉這個規則
把 class 換成一般的物件就好
src/js/setting/drop_down.js
Outdated
@@ -1,7 +1,9 @@ | |||
const Station_Wrapper = document.querySelector('.realtime-station'); | |||
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是確定全域變數的話在 eslint.config.mjs 的 global 裡面設定,不要單獨關規則
src/js/index/require.js
Outdated
@@ -4,6 +4,7 @@ const isDev = process.defaultApp | |||
let TREM; | |||
|
|||
if (isDev) { | |||
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是確定全域變數的話在 eslint.config.mjs 的 global 裡面設定,不要單獨關規則
src/js/setting/drop_down.js
Outdated
const Station_Location = Station_Wrapper.querySelector('.location'); | ||
const Station_Select_Wrapper = Station_Wrapper.querySelector('.select-wrapper'); | ||
const Station_Local_Items = Station_Select_Wrapper.querySelector('.local'); | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是確定全域變數的話在 eslint.config.mjs 的 global 裡面設定,不要單獨關規則
src/js/setting/drop_down.js
Outdated
@@ -32,6 +34,7 @@ Location.onclick = function () { | |||
LocationSelWrapper.classList.toggle('select-show-big'); | |||
}; | |||
|
|||
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是確定全域變數的話在 eslint.config.mjs 的 global 裡面設定,不要單獨關規則
src/js/setting/require.js
Outdated
@@ -1,3 +1,4 @@ | |||
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是確定全域變數的話在 eslint.config.mjs 的 global 裡面設定,不要單獨關規則
No description provided.