Skip to content

Commit cc1f0fd

Browse files
committed
Merge branch 'master' into add-rule/valid-slot-scope
# Conflicts: # README.md
2 parents f149d81 + 0e51839 commit cc1f0fd

File tree

81 files changed

+376
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+376
-113
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ module.exports = {
2121
rules: {
2222
'eslint-plugin/report-message-format': ['error', '^[A-Z`\'{].*\\.$'],
2323
'eslint-plugin/prefer-placeholders': 'error',
24-
'eslint-plugin/consistent-output': 'error'
24+
'eslint-plugin/consistent-output': 'error',
25+
'no-mixed-operators': 'error'
2526
},
2627

2728
overrides: [{

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
166166
| | [vue/require-v-for-key](./docs/rules/require-v-for-key.md) | require `v-bind:key` with `v-for` directives |
167167
| | [vue/require-valid-default-prop](./docs/rules/require-valid-default-prop.md) | enforce props default values to be valid |
168168
| | [vue/return-in-computed-property](./docs/rules/return-in-computed-property.md) | enforce that a return statement is present in computed property |
169+
| | [vue/use-v-on-exact](./docs/rules/use-v-on-exact.md) | enforce usage of `exact` modifier on `v-on` |
169170
| | [vue/valid-template-root](./docs/rules/valid-template-root.md) | enforce valid template root |
170171
| | [vue/valid-v-bind](./docs/rules/valid-v-bind.md) | enforce valid `v-bind` directives |
171172
| | [vue/valid-v-cloak](./docs/rules/valid-v-cloak.md) | enforce valid `v-cloak` directives |
@@ -194,19 +195,23 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
194195
| | Rule ID | Description |
195196
|:---|:--------|:------------|
196197
| :wrench: | [vue/attribute-hyphenation](./docs/rules/attribute-hyphenation.md) | enforce attribute naming style on custom components in template |
198+
| :wrench: | [vue/component-name-in-template-casing](./docs/rules/component-name-in-template-casing.md) | enforce specific casing for the component naming style in template |
197199
| :wrench: | [vue/html-closing-bracket-newline](./docs/rules/html-closing-bracket-newline.md) | require or disallow a line break before tag's closing brackets |
198200
| :wrench: | [vue/html-closing-bracket-spacing](./docs/rules/html-closing-bracket-spacing.md) | require or disallow a space before tag's closing brackets |
199201
| :wrench: | [vue/html-end-tags](./docs/rules/html-end-tags.md) | enforce end tag style |
200202
| :wrench: | [vue/html-indent](./docs/rules/html-indent.md) | enforce consistent indentation in `<template>` |
201203
| :wrench: | [vue/html-self-closing](./docs/rules/html-self-closing.md) | enforce self-closing style |
202204
| :wrench: | [vue/max-attributes-per-line](./docs/rules/max-attributes-per-line.md) | enforce the maximum number of attributes per line |
205+
| :wrench: | [vue/multiline-html-element-content-newline](./docs/rules/multiline-html-element-content-newline.md) | require a line break before and after the contents of a multiline element |
203206
| :wrench: | [vue/mustache-interpolation-spacing](./docs/rules/mustache-interpolation-spacing.md) | enforce unified spacing in mustache interpolations |
204207
| :wrench: | [vue/name-property-casing](./docs/rules/name-property-casing.md) | enforce specific casing for the name property in Vue components |
205208
| :wrench: | [vue/no-multi-spaces](./docs/rules/no-multi-spaces.md) | disallow multiple spaces |
209+
| :wrench: | [vue/no-spaces-around-equal-signs-in-attribute](./docs/rules/no-spaces-around-equal-signs-in-attribute.md) | disallow spaces around equal signs in attribute |
206210
| | [vue/no-template-shadow](./docs/rules/no-template-shadow.md) | disallow variable declarations from shadowing variables declared in the outer scope |
207211
| :wrench: | [vue/prop-name-casing](./docs/rules/prop-name-casing.md) | enforce specific casing for the Prop name in Vue components |
208212
| | [vue/require-default-prop](./docs/rules/require-default-prop.md) | require default value for props |
209213
| | [vue/require-prop-types](./docs/rules/require-prop-types.md) | require type definitions in props |
214+
| :wrench: | [vue/singleline-html-element-content-newline](./docs/rules/singleline-html-element-content-newline.md) | require a line break before and after the contents of a singleline element |
210215
| :wrench: | [vue/v-bind-style](./docs/rules/v-bind-style.md) | enforce `v-bind` directive style |
211216
| :wrench: | [vue/v-on-style](./docs/rules/v-on-style.md) | enforce `v-on` directive style |
212217

@@ -232,12 +237,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
232237

233238
| | Rule ID | Description |
234239
|:---|:--------|:------------|
235-
| :wrench: | [vue/component-name-in-template-casing](./docs/rules/component-name-in-template-casing.md) | enforce specific casing for the component naming style in template |
236-
| :wrench: | [vue/multiline-html-element-content-newline](./docs/rules/multiline-html-element-content-newline.md) | require a line break before and after the contents of a multiline element |
237-
| :wrench: | [vue/no-spaces-around-equal-signs-in-attribute](./docs/rules/no-spaces-around-equal-signs-in-attribute.md) | disallow spaces around equal signs in attribute |
238240
| :wrench: | [vue/script-indent](./docs/rules/script-indent.md) | enforce consistent indentation in `<script>` |
239-
| :wrench: | [vue/singleline-html-element-content-newline](./docs/rules/singleline-html-element-content-newline.md) | require a line break before and after the contents of a singleline element |
240-
| | [vue/use-v-on-exact](./docs/rules/use-v-on-exact.md) | enforce usage of `exact` modifier on `v-on` |
241241
| | [vue/valid-slot-scope](./docs/rules/valid-slot-scope.md) | enforce valid `slot-scope` attributes |
242242

243243
### Deprecated
@@ -319,6 +319,7 @@ In order to add a new rule, you should:
319319
- Write test scenarios & implement logic
320320
- Describe the rule in the generated `docs` file
321321
- Make sure all tests are passing
322+
- Run `npm run lint` and fix any errors
322323
- Run `npm run update` in order to update readme and recommended configuration
323324
- Create PR and link created issue in description
324325

docs/rules/component-name-in-template-casing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# enforce specific casing for the component naming style in template (vue/component-name-in-template-casing)
22

3+
- :gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
34
- :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.
45

56
Define a style for the component name in template casing for consistency purposes.

docs/rules/multiline-html-element-content-newline.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# require a line break before and after the contents of a multiline element (vue/multiline-html-element-content-newline)
22

3+
- :gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
34
- :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.
45

56
## :book: Rule Details

docs/rules/no-spaces-around-equal-signs-in-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# disallow spaces around equal signs in attribute (vue/no-spaces-around-equal-signs-in-attribute)
22

3+
- :gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
34
- :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.
45

56
This rule disallow spaces around equal signs in attribute.

docs/rules/singleline-html-element-content-newline.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# require a line break before and after the contents of a singleline element (vue/singleline-html-element-content-newline)
22

3+
- :gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
34
- :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.
45

56
## :book: Rule Details

docs/rules/use-v-on-exact.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# enforce usage of `exact` modifier on `v-on` (vue/use-v-on-exact)
22

3+
- :gear: This rule is included in all of `"plugin:vue/essential"`, `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
4+
35
This rule enforce usage of `exact` modifier on `v-on` when there is another `v-on` with modifier.
46

57
:+1: Examples of **correct** code for this rule:

docs/rules/valid-v-bind.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ This rule does not report `v-bind` directives which do not have their argument (
1515

1616
This rule does not check syntax errors in directives because it's checked by [no-parsing-error] rule.
1717

18+
:-1: Examples of **incorrect** code for this rule:
19+
1820
```html
1921
<div v-bind/>
2022
<div :aaa/>

lib/configs/essential.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = {
2424
'vue/require-v-for-key': 'error',
2525
'vue/require-valid-default-prop': 'error',
2626
'vue/return-in-computed-property': 'error',
27+
'vue/use-v-on-exact': 'error',
2728
'vue/valid-template-root': 'error',
2829
'vue/valid-v-bind': 'error',
2930
'vue/valid-v-cloak': 'error',

lib/configs/recommended.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
module.exports = {
77
extends: require.resolve('./strongly-recommended'),
88
rules: {
9-
'vue/attributes-order': 'error',
10-
'vue/html-quotes': 'error',
11-
'vue/no-v-html': 'error',
12-
'vue/order-in-components': 'error',
13-
'vue/this-in-template': 'error'
9+
'vue/attributes-order': 'warn',
10+
'vue/html-quotes': 'warn',
11+
'vue/no-v-html': 'warn',
12+
'vue/order-in-components': 'warn',
13+
'vue/this-in-template': 'warn'
1414
}
1515
}

lib/configs/strongly-recommended.js

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,25 @@
66
module.exports = {
77
extends: require.resolve('./essential'),
88
rules: {
9-
'vue/attribute-hyphenation': 'error',
10-
'vue/html-closing-bracket-newline': 'error',
11-
'vue/html-closing-bracket-spacing': 'error',
12-
'vue/html-end-tags': 'error',
13-
'vue/html-indent': 'error',
14-
'vue/html-self-closing': 'error',
15-
'vue/max-attributes-per-line': 'error',
16-
'vue/mustache-interpolation-spacing': 'error',
17-
'vue/name-property-casing': 'error',
18-
'vue/no-multi-spaces': 'error',
19-
'vue/no-template-shadow': 'error',
20-
'vue/prop-name-casing': 'error',
21-
'vue/require-default-prop': 'error',
22-
'vue/require-prop-types': 'error',
23-
'vue/v-bind-style': 'error',
24-
'vue/v-on-style': 'error'
9+
'vue/attribute-hyphenation': 'warn',
10+
'vue/component-name-in-template-casing': 'warn',
11+
'vue/html-closing-bracket-newline': 'warn',
12+
'vue/html-closing-bracket-spacing': 'warn',
13+
'vue/html-end-tags': 'warn',
14+
'vue/html-indent': 'warn',
15+
'vue/html-self-closing': 'warn',
16+
'vue/max-attributes-per-line': 'warn',
17+
'vue/multiline-html-element-content-newline': 'warn',
18+
'vue/mustache-interpolation-spacing': 'warn',
19+
'vue/name-property-casing': 'warn',
20+
'vue/no-multi-spaces': 'warn',
21+
'vue/no-spaces-around-equal-signs-in-attribute': 'warn',
22+
'vue/no-template-shadow': 'warn',
23+
'vue/prop-name-casing': 'warn',
24+
'vue/require-default-prop': 'warn',
25+
'vue/require-prop-types': 'warn',
26+
'vue/singleline-html-element-content-newline': 'warn',
27+
'vue/v-bind-style': 'warn',
28+
'vue/v-on-style': 'warn'
2529
}
2630
}

lib/rules/attribute-hyphenation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ const casing = require('../utils/casing')
1313

1414
module.exports = {
1515
meta: {
16+
type: 'suggestion',
1617
docs: {
1718
description: 'enforce attribute naming style on custom components in template',
1819
category: 'strongly-recommended',
19-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/attribute-hyphenation.md'
20+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/attribute-hyphenation.md'
2021
},
2122
fixable: 'code',
2223
schema: [

lib/rules/attributes-order.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ function create (context) {
103103

104104
module.exports = {
105105
meta: {
106+
type: 'suggestion',
106107
docs: {
107108
description: 'enforce order of attributes',
108109
category: 'recommended',
109-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/attributes-order.md'
110+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/attributes-order.md'
110111
},
111112
fixable: 'code',
112113
schema: {

lib/rules/comment-directive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ function processLine (context, comment) {
106106

107107
module.exports = {
108108
meta: {
109+
type: 'problem',
109110
docs: {
110111
description: 'support comment-directives in `<template>`',
111112
category: 'base',
112-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/comment-directive.md'
113+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/comment-directive.md'
113114
},
114115
schema: []
115116
},

lib/rules/component-name-in-template-casing.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ const defaultCase = 'PascalCase'
2020

2121
module.exports = {
2222
meta: {
23+
type: 'suggestion',
2324
docs: {
2425
description: 'enforce specific casing for the component naming style in template',
25-
category: undefined, // strongly-recommended
26-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/component-name-in-template-casing.md'
26+
category: 'strongly-recommended',
27+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/component-name-in-template-casing.md'
2728
},
2829
fixable: 'code',
2930
schema: [

lib/rules/html-closing-bracket-newline.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ function getPhrase (lineBreaks) {
2929

3030
module.exports = {
3131
meta: {
32+
type: 'layout',
3233
docs: {
3334
description: "require or disallow a line break before tag's closing brackets",
3435
category: 'strongly-recommended',
35-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/html-closing-bracket-newline.md'
36+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/html-closing-bracket-newline.md'
3637
},
3738
fixable: 'whitespace',
3839
schema: [{

lib/rules/html-closing-bracket-spacing.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ function parseOptions (options, tokens) {
5050

5151
module.exports = {
5252
meta: {
53+
type: 'layout',
5354
docs: {
5455
description: 'require or disallow a space before tag\'s closing brackets',
5556
category: 'strongly-recommended',
56-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/html-closing-bracket-spacing.md'
57+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/html-closing-bracket-spacing.md'
5758
},
5859
schema: [{
5960
type: 'object',

lib/rules/html-end-tags.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ const utils = require('../utils')
1717

1818
module.exports = {
1919
meta: {
20+
type: 'suggestion',
2021
docs: {
2122
description: 'enforce end tag style',
2223
category: 'strongly-recommended',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/html-end-tags.md'
24+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/html-end-tags.md'
2425
},
2526
fixable: 'code',
2627
schema: []

lib/rules/html-indent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ module.exports = {
2626
return utils.defineTemplateBodyVisitor(context, visitor)
2727
},
2828
meta: {
29+
type: 'layout',
2930
docs: {
3031
description: 'enforce consistent indentation in `<template>`',
3132
category: 'strongly-recommended',
32-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/html-indent.md'
33+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/html-indent.md'
3334
},
3435
fixable: 'whitespace',
3536
schema: [

lib/rules/html-quotes.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ const utils = require('../utils')
1717

1818
module.exports = {
1919
meta: {
20+
type: 'layout',
2021
docs: {
2122
description: 'enforce quotes style of HTML attributes',
2223
category: 'recommended',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/html-quotes.md'
24+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/html-quotes.md'
2425
},
2526
fixable: 'code',
2627
schema: [

lib/rules/html-self-closing.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@ function isEmpty (node, sourceCode) {
8585

8686
module.exports = {
8787
meta: {
88+
type: 'layout',
8889
docs: {
8990
description: 'enforce self-closing style',
9091
category: 'strongly-recommended',
91-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/html-self-closing.md'
92+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/html-self-closing.md'
9293
},
9394
fixable: 'code',
9495
schema: {

lib/rules/jsx-uses-vars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ SOFTWARE.
3636

3737
module.exports = {
3838
meta: {
39+
type: 'problem',
3940
docs: {
4041
description: 'prevent variables used in JSX to be marked as unused', // eslint-disable-line consistent-docs-description
4142
category: 'base',
42-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/jsx-uses-vars.md'
43+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/jsx-uses-vars.md'
4344
},
4445
schema: []
4546
},

lib/rules/max-attributes-per-line.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ const utils = require('../utils')
1111

1212
module.exports = {
1313
meta: {
14+
type: 'layout',
1415
docs: {
1516
description: 'enforce the maximum number of attributes per line',
1617
category: 'strongly-recommended',
17-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/max-attributes-per-line.md'
18+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/max-attributes-per-line.md'
1819
},
1920
fixable: 'whitespace', // or "code" or "whitespace"
2021
schema: [

lib/rules/multiline-html-element-content-newline.js

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// ------------------------------------------------------------------------------
1010

1111
const utils = require('../utils')
12+
const casing = require('../utils/casing')
1213

1314
// ------------------------------------------------------------------------------
1415
// Helpers
@@ -20,7 +21,7 @@ function isMultilineElement (element) {
2021

2122
function parseOptions (options) {
2223
return Object.assign({
23-
'ignores': ['pre', 'textarea']
24+
ignores: ['pre', 'textarea']
2425
}, options)
2526
}
2627

@@ -49,10 +50,11 @@ function isEmpty (node, sourceCode) {
4950

5051
module.exports = {
5152
meta: {
53+
type: 'layout',
5254
docs: {
5355
description: 'require a line break before and after the contents of a multiline element',
54-
category: undefined,
55-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.4/docs/rules/multiline-html-element-content-newline.md'
56+
category: 'strongly-recommended',
57+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0-beta.5/docs/rules/multiline-html-element-content-newline.md'
5658
},
5759
fixable: 'whitespace',
5860
schema: [{
@@ -80,12 +82,18 @@ module.exports = {
8082

8183
let inIgnoreElement
8284

85+
function isIgnoredElement (node) {
86+
return ignores.includes(node.name) ||
87+
ignores.includes(casing.pascalCase(node.rawName)) ||
88+
ignores.includes(casing.kebabCase(node.rawName))
89+
}
90+
8391
return utils.defineTemplateBodyVisitor(context, {
8492
'VElement' (node) {
8593
if (inIgnoreElement) {
8694
return
8795
}
88-
if (ignores.indexOf(node.name) >= 0) {
96+
if (isIgnoredElement(node)) {
8997
// ignore element name
9098
inIgnoreElement = node
9199
return
@@ -114,7 +122,7 @@ module.exports = {
114122
},
115123
messageId: 'unexpectedAfterClosingBracket',
116124
data: {
117-
name: node.name,
125+
name: node.rawName,
118126
actual: getPhrase(beforeLineBreaks)
119127
},
120128
fix (fixer) {

0 commit comments

Comments
 (0)