summaryrefslogtreecommitdiff
path: root/tools/eslint/lib/rules/no-restricted-syntax.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/lib/rules/no-restricted-syntax.js')
-rw-r--r--tools/eslint/lib/rules/no-restricted-syntax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint/lib/rules/no-restricted-syntax.js b/tools/eslint/lib/rules/no-restricted-syntax.js
index 7c4d234501..ab6c36923a 100644
--- a/tools/eslint/lib/rules/no-restricted-syntax.js
+++ b/tools/eslint/lib/rules/no-restricted-syntax.js
@@ -32,7 +32,7 @@ module.exports = {
}
},
- create: function(context) {
+ create(context) {
/**
* Generates a warning from the provided node, saying that node type is not allowed.