From 8adef61bbc2e9ba98ef28528cbddd40a8467a5e6 Mon Sep 17 00:00:00 2001 From: Ben Rohlfs Date: Wed, 23 Aug 2023 09:45:43 +0200 Subject: Remove `globals` from eslintrc.js Release-Notes: skip Change-Id: I4f40afa6eafd24ad48dfc935f48ce485e1065f1c --- polygerrit-ui/app/.eslintrc.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/polygerrit-ui/app/.eslintrc.js b/polygerrit-ui/app/.eslintrc.js index 7abc658393..e0fe3b5f5c 100644 --- a/polygerrit-ui/app/.eslintrc.js +++ b/polygerrit-ui/app/.eslintrc.js @@ -234,19 +234,6 @@ module.exports = { ], }, - // List of allowed globals in all files - globals: { - // Polygerrit global variables. - // You must not add anything new in this list! - // Instead export variables from modules - // TODO(dmfilippov): Remove global variables from polygerrit - // Global variables from 3rd party libraries. - // You should not add anything in this list, always try to import - // If import is not possible - you can extend this list - ShadyCSS: 'readonly', - linkify: 'readonly', - security: 'readonly', - }, overrides: [ { files: ['.eslintrc.js', '.eslintrc-bazel.js'], -- cgit v1.2.3