mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 12:14:51 +01:00
a159c3175f
* Add new JS linter rules Adds a few useful rules from eslint-plugin-github. Notable changes: - Forbid dataset usage, its camel-casing behaviour makes it hard to grep for attributes. - Forbid .then() and .catch(), we should generally prefer await for new code. For rare cases where they are useful, a eslint-disable-line directive can be set. - Add docs js to linting * also enable github/array-foreach * small tweak Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
comp | ||
admin-common.js | ||
admin-emails.js | ||
admin-users.js | ||
clipboard.js | ||
codeeditor.js | ||
colorpicker.js | ||
common-global.js | ||
common-issue.js | ||
common-organization.js | ||
contextpopup.js | ||
dropzone.js | ||
emoji.js | ||
eventsource.sharedworker.js | ||
heatmap.js | ||
imagediff.js | ||
install.js | ||
notification.js | ||
org-team.js | ||
repo-branch.js | ||
repo-code.js | ||
repo-commit.js | ||
repo-common.js | ||
repo-diff.js | ||
repo-editor.js | ||
repo-graph.js | ||
repo-home.js | ||
repo-issue-content.js | ||
repo-issue.js | ||
repo-legacy.js | ||
repo-migrate.js | ||
repo-migration.js | ||
repo-projects.js | ||
repo-release.js | ||
repo-settings.js | ||
repo-template.js | ||
repo-wiki.js | ||
serviceworker.js | ||
sshkey-helper.js | ||
stopwatch.js | ||
tablesort.js | ||
tribute.js | ||
user-auth-u2f.js | ||
user-auth.js | ||
user-settings.js |