Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 8115b06

Browse files
committed
chore: lint
1 parent e1ae9b8 commit 8115b06

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/index.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,18 @@ export default function vue(opts: VuePluginOptions = {}): Plugin {
185185
}
186186

187187
const shouldExtractCss = opts.css === false
188-
const customBlocks: string[] = []
188+
const customBlocks: string[] = []
189189

190190
if (opts.blackListCustomBlocks) {
191-
console.warn('`blackListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.')
191+
console.warn(
192+
'`blackListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.'
193+
)
192194
customBlocks.push(...opts.blackListCustomBlocks.map(tag => '!' + tag))
193195
}
194196
if (opts.whiteListCustomBlocks) {
195-
console.warn('`whiteListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.')
197+
console.warn(
198+
'`whiteListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.'
199+
)
196200
customBlocks.push(...opts.whiteListCustomBlocks)
197201
}
198202
const isAllowed = createCustomBlockFilter(opts.customBlocks || customBlocks)

0 commit comments

Comments
 (0)