-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix all violations of eslint rule
no-restricted-syntax
that intro…
…duced in aa2bba7 @ app/router.options.ts & utils/post/queryForm/queryParams.ts * fix all violations of eslint rule `@typescript-eslint/unbound-method` @ pages/bilibiliVote.vue * enable option `allowAsThisParameter` for rule `@typescript-eslint/no-invalid-void-type` to allow using `this: void` to resolve violation of rule `@typescript-eslint/unbound-method` @ eslint.config.js * replace the callback as v-bind of `ref` with plain attr @ `<RelativeTime>` * referencing vuejs/language-tools#4798 in comment since 2f8b0a0 @ `<PostBadgeTime>` @ fe
- Loading branch information
Showing
6 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -363,7 +363,7 @@ const rules = [{ // as of [email protected] | |
'@typescript-eslint/no-confusing-void-expression': 'error', | ||
'@typescript-eslint/no-dynamic-delete': 'error', | ||
'@typescript-eslint/no-extraneous-class': 'error', | ||
'@typescript-eslint/no-invalid-void-type': 'error', | ||
'@typescript-eslint/no-invalid-void-type': ['error', { allowAsThisParameter: true }], | ||
'@typescript-eslint/no-require-imports': 'error', | ||
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', | ||
'@typescript-eslint/no-unnecessary-condition': 'error', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters