-
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
Changes from all commits
ccefed0
45f9b81
f2114d3
514267b
e8d86eb
7845def
db61666
9912271
0af2374
c1b95fc
aa1d296
f1f6bf4
7e22de9
cb03540
6547164
5e27e1b
9937918
bcf9062
31144ad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,10 +248,12 @@ export default { | |
self.mapConfig.layer_settings, | ||
source.updated_search_key | ||
); | ||
// eslint-disable-next-line array-callback-return | ||
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 commentThe reason will be displayed to describe this comment to others. Learn more. 📝 単にforEachに置き換えてもよさそうですが、なんらかの意図があるかもしれないので無効化しています。 |
||
Object.keys(categories).map((category) => { | ||
const categoryExists = self.mapConfig.layer_settings[category]; | ||
|
||
|
@@ -329,6 +331,7 @@ export default { | |
}, | ||
getMarkerNameText(markerProperties, locale) { | ||
let name = markerProperties.name; | ||
// eslint-disable-next-line no-prototype-builtins | ||
if (markerProperties.hasOwnProperty("name:" + locale)) { | ||
name = markerProperties["name:" + locale]; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. 📝 単にforEachに置き換えてもよさそうですが、なんらかの意図があるかもしれないので無効化しています。 |
||
list.map((name) => { | ||
// load map config | ||
console.log(`loading ${CONFIG_DIR}${name}`) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. 📝 単にfinallyブロックを削除してもよさそうですが、なんらかの意図があるかもしれないので無効化しています。 |
||
} finally { | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
import Vue from 'vue' | ||
import simplebar from 'simplebar-vue' | ||
// eslint-disable-next-line vue/multi-word-component-names | ||
Vue.component('Simplebar', simplebar) |
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に置き換えてもよさそうですが、なんらかの意図があるかもしれないので無効化しています。