Skip to content

Commit df75aff

Browse files
committed
meta update
1 parent 2188af9 commit df75aff

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docs/rules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ For example:
353353
| [vue/no-v-text](./no-v-text.md) | disallow use of v-text | |
354354
| [vue/padding-line-between-blocks](./padding-line-between-blocks.md) | require or disallow padding lines between blocks | :wrench: |
355355
| [vue/prefer-separate-static-class](./prefer-separate-static-class.md) | require static class names in template to be in a separate `class` attribute | :wrench: |
356-
| [vue/prefer-true-attribute-shorthand](./prefer-true-attribute-shorthand.md) | require shorthand form attribute when `v-bind` value is `true` | :wrench::bulb: |
356+
| [vue/prefer-true-attribute-shorthand](./prefer-true-attribute-shorthand.md) | require shorthand form attribute when `v-bind` value is `true` | :bulb: |
357357
| [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | |
358358
| [vue/require-emit-validator](./require-emit-validator.md) | require type definitions in emits | :bulb: |
359359
| [vue/require-expose](./require-expose.md) | require declare public properties using `expose` | :bulb: |

docs/rules/prefer-true-attribute-shorthand.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ description: require shorthand form attribute when `v-bind` value is `true`
99
> require shorthand form attribute when `v-bind` value is `true`
1010
1111
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
12-
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
1312
- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
1413

1514
## :book: Rule Details
1615

1716
`v-bind` attribute with `true` value usually can be written in shorthand form. This can reduce verbosity.
1817

19-
<eslint-code-block fix :rules="{'vue/prefer-true-attribute-shorthand': ['error']}">
18+
<eslint-code-block :rules="{'vue/prefer-true-attribute-shorthand': ['error']}">
2019

2120
```vue
2221
<template>
@@ -90,7 +89,7 @@ Default options is `"always"`.
9089

9190
### `"never"`
9291

93-
<eslint-code-block fix :rules="{'vue/prefer-true-attribute-shorthand': ['error', 'never']}">
92+
<eslint-code-block :rules="{'vue/prefer-true-attribute-shorthand': ['error', 'never']}">
9493

9594
```vue
9695
<template>

lib/rules/prefer-true-attribute-shorthand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
categories: undefined,
2424
url: 'https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html'
2525
},
26-
fixable: 'code',
26+
fixable: null,
2727
hasSuggestions: true,
2828
schema: [{ enum: ['always', 'never'] }],
2929
messages: {

0 commit comments

Comments
 (0)