File: 1001_tidy_code.patch

package info (click to toggle)
node-eslint-plugin-es 4.1.0~ds1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,656 kB
  • sloc: javascript: 7,934; makefile: 31; sh: 1
file content (17 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: tidy code making it eslint clean
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2020-12-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/lib/rules/no-global-this.js
+++ b/tests/lib/rules/no-global-this.js
@@ -22,8 +22,8 @@
         },
         {
             code: "window.globalThis",
-            globals: { window: "readonly" },
             errors: ["ES2020 'globalThis' variable is forbidden."],
+            globals: { window: "readonly" },
         },
     ],
 })