gitea/web_src/js/components
silverwind 08579d6cbb
Add initial typescript config and use it for eslint,vitest,playwright (#31186)
This enables eslint to use the typescript parser and resolver which
brings some benefits that eslint rules now have type information
available and a tsconfig.json is required for the upcoming typescript
migration as well. Notable changes done:

- Add typescript parser and resolver
- Move the vue-specific config into the root file
- Enable `vue-scoped-css/enforce-style-type` rule, there was only one
violation and I added a inline disable there.
- Fix new lint errors that were detected because of the parser change
- Update `i/no-unresolved` to remove now-unnecessary workaround for the
resolver
- Disable `i/no-named-as-default` as it seems to raise bogus issues in
the webpack config
- Change vitest config to typescript
- Change playwright config to typescript
- Add `eslint-plugin-playwright` and fix issues
- Add `tsc` linting to `make lint-js`
2024-06-28 16:15:51 +00:00
..
ActionRunStatus.vue Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
ActivityHeatmap.vue Fix activity heat map padding & locale (#30823) 2024-05-02 13:22:55 +00:00
ContextPopup.vue Improve context popup rendering (#30824) 2024-05-02 15:42:33 +02:00
DashboardRepoList.vue Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
DiffCommitSelector.vue Update JS dependencies, remove `eslint-plugin-jquery` (#31402) 2024-06-18 08:10:30 +00:00
DiffFileList.vue Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
DiffFileTree.vue Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
DiffFileTreeItem.vue Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
PullRequestMergeForm.vue Remove fomantic button module (#30475) 2024-04-14 17:53:52 +00:00
RepoActionView.vue Add initial typescript config and use it for eslint,vitest,playwright (#31186) 2024-06-28 16:15:51 +00:00
RepoActivityTopAuthors.vue Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
RepoBranchTagSelector.vue Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
RepoCodeFrequency.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-06 09:36:53 +08:00
RepoContributors.vue Fix Activity Page Contributors dropdown (#31264) 2024-06-06 10:28:33 +08:00
RepoRecentCommits.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-06 09:36:53 +08:00
ScopedAccessTokenSelector.vue Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00