Commit 6f69db7b authored by Dan Beam's avatar Dan Beam Committed by Commit Bot

Add cr.exportPath() to ESLint banned properties

R=dpapad@chromium.org

Bug: 1028829
Change-Id: I6ff5518a178bd86a5ab13b8ef7d8bce52b9588fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995947
Commit-Queue: Dan Beam <dbeam@chromium.org>
Auto-Submit: Dan Beam <dbeam@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730348}
parent 6d20e81b
......@@ -44,6 +44,11 @@ module.exports = {
'property': '__defineSetter__',
'message': 'Use Object.defineProperty',
},
{
'object': 'cr',
'property': 'exportPath',
'message': 'Use ES modules or cr.define() instead',
},
],
'no-var': 'error',
'prefer-const': 'error',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment