Disallow ===
This commit is contained in:
parent
7d6f610be0
commit
994c3bb654
2 changed files with 8 additions and 5 deletions
|
|
@ -36,16 +36,19 @@ export default tseslint.config(
|
|||
{ files: ["**/*.vue"], languageOptions: { parserOptions: { parser: tseslint.parser } } },
|
||||
|
||||
// My own rules.
|
||||
//
|
||||
// https://eslint.org/docs/latest/rules/
|
||||
// https://typescript-eslint.io/rules/
|
||||
// https://eslint.vuejs.org/rules/
|
||||
{
|
||||
rules: {
|
||||
// https://eslint.org/docs/latest/rules/
|
||||
eqeqeq: "error",
|
||||
|
||||
// https://typescript-eslint.io/rules/
|
||||
"@typescript-eslint/explicit-function-return-type": "error",
|
||||
|
||||
// https://eslint.vuejs.org/rules/
|
||||
"vue/block-lang": ["error", { script: { lang: "ts" } }],
|
||||
"vue/block-order": ["error", { order: ["script", "template", "style"] }],
|
||||
"vue/component-api-style": ["error", ["script-setup"]],
|
||||
"vue/eqeqeq": "error",
|
||||
"vue/v-for-delimiter-style": ["error", "of"],
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ function onMoveButtonClick(): void {
|
|||
</CNoteButton>
|
||||
<CNoteButton
|
||||
:visible="hover"
|
||||
:disabled="ui.anchorId == segment.id"
|
||||
:disabled="ui.anchorId === segment.id"
|
||||
@click.stop="onMoveButtonClick"
|
||||
>
|
||||
<RiArrowRightDoubleLine size="16px" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue