-
Notifications
You must be signed in to change notification settings - Fork 10
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
ci: update linter #40
Conversation
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
eslint
src/widgets/EnemiesListV2/index.vue|311 col 24| Insert ;
src/widgets/EnemiesListV2/index.vue|311 col 24| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|355 col 28| Insert ;
src/widgets/EnemiesListV2/index.vue|355 col 28| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|367 col 28| Insert ;
src/widgets/EnemiesListV2/index.vue|367 col 28| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|379 col 28| Insert ;
src/widgets/EnemiesListV2/index.vue|379 col 28| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|391 col 28| Insert ;
src/widgets/EnemiesListV2/index.vue|391 col 28| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|403 col 28| Insert ;
src/widgets/EnemiesListV2/index.vue|403 col 28| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|425 col 71| Insert ;
src/widgets/EnemiesListV2/index.vue|425 col 71| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|433 col 46| Insert ;
src/widgets/EnemiesListV2/index.vue|433 col 46| Missing semicolon.
src/widgets/EnemiesListV2/index.vue|454 col 52| Replace sourceColumn.key]·as·string[]
with ⏎··········sourceColumn.key⏎········]·as·string[];
src/widgets/EnemiesListV2/index.vue|454 col 81| Missing semicolon.
src/widgets/EnemiesListV2/index.vue
Outdated
reactive, | ||
ref, | ||
watch, | ||
} from "vue" |
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] <prettier/prettier> reported by reviewdog 🐶
Insert ;
} from "vue" | |
} from "vue"; |
src/widgets/EnemiesListV2/index.vue
Outdated
reactive, | ||
ref, | ||
watch, | ||
} from "vue" |
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.
src/widgets/EnemiesListV2/index.vue
Outdated
import type { | ||
DataTableBaseColumn, | ||
DataTableColumn, | ||
DataTableColumns, | ||
DataTableFilterState, | ||
DataTableInst, | ||
} from 'naive-ui' | ||
} from "naive-ui" |
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] <prettier/prettier> reported by reviewdog 🐶
Insert ;
} from "naive-ui" | |
} from "naive-ui"; |
src/widgets/EnemiesListV2/index.vue
Outdated
import type { | ||
DataTableBaseColumn, | ||
DataTableColumn, | ||
DataTableColumns, | ||
DataTableFilterState, | ||
DataTableInst, | ||
} from 'naive-ui' | ||
} from "naive-ui" |
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.
src/widgets/EnemiesListV2/index.vue
Outdated
import { getImagePath } from '@/utils/utils' | ||
import { getNaiveUILocale } from '@/utils/i18n' | ||
import { useThemeStore } from '@/stores/theme' | ||
} from "naive-ui" |
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] <prettier/prettier> reported by reviewdog 🐶
Insert ;
} from "naive-ui" | |
} from "naive-ui"; |
src/widgets/EnemiesListV2/index.vue
Outdated
(e.children[1] as HTMLElement).style.display = 'block' | ||
document.querySelectorAll(".mc-tooltips").forEach((e) => { | ||
if (!e.children || e.children.length < 2) return | ||
;(e.children[1] as HTMLElement).style.display = "block" |
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] <prettier/prettier> reported by reviewdog 🐶
Replace ;(e.children[1]·as·HTMLElement).style.display·=·"block"
with (e.children[1]·as·HTMLElement).style.display·=·"block";
;(e.children[1] as HTMLElement).style.display = "block" | |
(e.children[1] as HTMLElement).style.display = "block"; |
src/widgets/EnemiesListV2/index.vue
Outdated
(e.children[1] as HTMLElement).style.display = 'block' | ||
document.querySelectorAll(".mc-tooltips").forEach((e) => { | ||
if (!e.children || e.children.length < 2) return | ||
;(e.children[1] as HTMLElement).style.display = "block" |
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.
src/widgets/EnemiesListV2/index.vue
Outdated
(e.children[1] as HTMLElement).dataset.trigger | ||
|| 'mouseenter focus', | ||
(e.children[1] as HTMLElement).dataset.trigger || | ||
"mouseenter focus", | ||
}) | ||
}) | ||
}) |
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.
src/widgets/EnemiesListV2/index.vue
Outdated
}) | ||
}) | ||
}) | ||
return h('span', { innerHTML: row.ability }) | ||
return h("span", { innerHTML: row.ability }) |
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] <prettier/prettier> reported by reviewdog 🐶
Insert ;
return h("span", { innerHTML: row.ability }) | |
return h("span", { innerHTML: row.ability }); |
src/widgets/EnemiesListV2/index.vue
Outdated
}) | ||
}) | ||
}) | ||
return h('span', { innerHTML: row.ability }) | ||
return h("span", { innerHTML: row.ability }) |
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.
}, | ||
plugins: [ | ||
{ | ||
name: 'prts', | ||
name: "prts", | ||
generateBundle(opts, bundle) { | ||
const bundles = Object.keys(bundle) | ||
const fileNames = ['vendor', 'naive-ui', 'common'] | ||
.map((name) => { | ||
return bundles.find(v => v.startsWith(name))! | ||
}) |
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.
* ci: update linter * ci: linter ignore spine runtime * style: enable prettier semi * chore(deps): add missing ts eslint deps * ci: update tsconfig for build tools config * ci: add missing semi config in eslint * ci: add stylelint config * style: reformat code * ci: remove no console rule * chore: update `.gitignore` * chore: add `.stylelintignore` * style: reformat build tools config * ci: update lint action * style: fix lint * ci: change `vue-tsc` reporter
No description provided.