Skip to content

Commit

Permalink
replace words
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 16, 2020
1 parent b039fa7 commit bb767b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules/no-bare-strings-in-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const casing = require('../utils/casing')
// ------------------------------------------------------------------------------

// https://dev.w3.org/html5/html-author/charref
const DEFAULT_WHITELIST = [
const DEFAULT_ALLOWLIST = [
'(',
')',
',',
Expand Down Expand Up @@ -164,7 +164,7 @@ module.exports = {
*/
const opts = context.options[0] || {}
/** @type {string[]} */
const allowlist = opts.allowlist || DEFAULT_WHITELIST
const allowlist = opts.allowlist || DEFAULT_ALLOWLIST
const attributes = parseTargetAttrs(opts.attributes || DEFAULT_ATTRIBUTES)
const directives = opts.directives || DEFAULT_DIRECTIVES

Expand Down

0 comments on commit bb767b7

Please sign in to comment.