Skip to content

Commit bb767b7

Browse files
committed
replace words
1 parent b039fa7 commit bb767b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/no-bare-strings-in-template.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const casing = require('../utils/casing')
2121
// ------------------------------------------------------------------------------
2222

2323
// https://dev.w3.org/html5/html-author/charref
24-
const DEFAULT_WHITELIST = [
24+
const DEFAULT_ALLOWLIST = [
2525
'(',
2626
')',
2727
',',
@@ -164,7 +164,7 @@ module.exports = {
164164
*/
165165
const opts = context.options[0] || {}
166166
/** @type {string[]} */
167-
const allowlist = opts.allowlist || DEFAULT_WHITELIST
167+
const allowlist = opts.allowlist || DEFAULT_ALLOWLIST
168168
const attributes = parseTargetAttrs(opts.attributes || DEFAULT_ATTRIBUTES)
169169
const directives = opts.directives || DEFAULT_DIRECTIVES
170170

0 commit comments

Comments
 (0)