diff options
Diffstat (limited to 'tools/eslint/lib/rules/dot-notation.js')
-rw-r--r-- | tools/eslint/lib/rules/dot-notation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/lib/rules/dot-notation.js b/tools/eslint/lib/rules/dot-notation.js index 2cbbe07eb1..a8a64a280c 100644 --- a/tools/eslint/lib/rules/dot-notation.js +++ b/tools/eslint/lib/rules/dot-notation.js @@ -35,7 +35,7 @@ module.exports = { ] }, - create: function(context) { + create(context) { const options = context.options[0] || {}; const allowKeywords = options.allowKeywords === void 0 || !!options.allowKeywords; @@ -46,7 +46,7 @@ module.exports = { } return { - MemberExpression: function(node) { + MemberExpression(node) { if ( node.computed && node.property.type === "Literal" && |