-
Notifications
You must be signed in to change notification settings - Fork 58
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
ESLint関連パッケージを更新 #476
ESLint関連パッケージを更新 #476
Conversation
@@ -9,6 +9,7 @@ try { | |||
if (fs.existsSync("./nuxt-router-override.config.js")) { | |||
router = require("./nuxt-router-override.config").default; | |||
} | |||
// eslint-disable-next-line no-empty |
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.
📝 単にfinallyブロックを削除してもよさそうですが、なんらかの意図があるかもしれないので無効化しています。
@@ -33,6 +33,7 @@ const _make_tilejson = (dir, base_name) => { | |||
|
|||
// load config | |||
const list = require(`${CONFIG_DIR}list.json`) | |||
// eslint-disable-next-line array-callback-return |
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.
📝 単にforEachに置き換えてもよさそうですが、なんらかの意図があるかもしれないので無効化しています。
@@ -248,10 +248,12 @@ export default { | |||
self.mapConfig.layer_settings, | |||
source.updated_search_key | |||
); | |||
// eslint-disable-next-line array-callback-return |
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.
📝 単にforEachに置き換えてもよさそうですが、なんらかの意図があるかもしれないので無効化しています。
markers.map((marker) => { | ||
categories[marker.category] = true; | ||
}); | ||
source.updated_at = updated_at; | ||
// eslint-disable-next-line array-callback-return |
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.
📝 単にforEachに置き換えてもよさそうですが、なんらかの意図があるかもしれないので無効化しています。
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.
LGTM
概要 | About
ESLint関連パッケージを新しいバージョンに更新します。
なるべく新しいバージョンに更新していますが、更新により発生したエラーの解消が難しい場合は、それ以前のバージョンにとどめています。
既存コードでエラーが検知された場合、意図的なものなのかどうか判断つかないため、ひとまずコメントで無効化しています。
動作確認方法 | How to check
スクリーンショット | Screenshot
なし