Skip to content

Commit 2eb2f2c

Browse files
committed
👕 refactor: fix eslint errors
1 parent 9108905 commit 2eb2f2c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lib/rules/no-raw-text.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,17 +173,17 @@ module.exports = {
173173
fixable: null,
174174
schema: [
175175
{
176-
type: "object",
176+
type: 'object',
177177
properties: {
178178
ignoreNodes: {
179-
type: "array"
179+
type: 'array'
180180
},
181181
ignorePattern: {
182-
type: "string"
182+
type: 'string'
183183
},
184184
ignoreText: {
185-
type: "array"
186-
},
185+
type: 'array'
186+
}
187187
}
188188
}
189189
]

tests/lib/rules/no-raw-text.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,22 @@ tester.run('no-raw-text', rule, {
6464
<v-icon>menu</v-icon>
6565
</template>
6666
`,
67-
options: [{ ignoreNodes: ['md-icon', 'v-icon'] }],
67+
options: [{ ignoreNodes: ['md-icon', 'v-icon'] }]
6868
}, {
6969
code: `
7070
<template>
7171
<p>{{ $t('foo') }}: {{ $t('bar') }}</p>
7272
</template>
7373
`,
74-
options: [{ ignorePattern: '^[-.#:()&]+$' }],
74+
options: [{ ignorePattern: '^[-.#:()&]+$' }]
7575
}, {
7676
code: `
7777
<template>
7878
<p>hello</p>
7979
<p>world</p>
8080
</template>
8181
`,
82-
options: [{ ignoreText: ['hello', 'world'] }],
82+
options: [{ ignoreText: ['hello', 'world'] }]
8383
}],
8484

8585
invalid: [{

0 commit comments

Comments
 (0)