We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b039fa7 commit bb767b7Copy full SHA for bb767b7
lib/rules/no-bare-strings-in-template.js
@@ -21,7 +21,7 @@ const casing = require('../utils/casing')
21
// ------------------------------------------------------------------------------
22
23
// https://dev.w3.org/html5/html-author/charref
24
-const DEFAULT_WHITELIST = [
+const DEFAULT_ALLOWLIST = [
25
'(',
26
')',
27
',',
@@ -164,7 +164,7 @@ module.exports = {
164
*/
165
const opts = context.options[0] || {}
166
/** @type {string[]} */
167
- const allowlist = opts.allowlist || DEFAULT_WHITELIST
+ const allowlist = opts.allowlist || DEFAULT_ALLOWLIST
168
const attributes = parseTargetAttrs(opts.attributes || DEFAULT_ATTRIBUTES)
169
const directives = opts.directives || DEFAULT_DIRECTIVES
170
0 commit comments