You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
! ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-global-assign.html\eslint(no-global-assign)]8;;\: Read-only global 'globalThis' should not be modified.
10
+
,-[src/test.js:2:1]
11
+
1|// for env detection
12
+
2|globalThis='abc';
13
+
: ^^^^^|^^^^
14
+
: `-- Read-only global 'globalThis' should not be modified.
15
+
3 | $ = 'abc';
16
+
`----
17
+
18
+
! ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-global-assign.html\eslint(no-global-assign)]8;;\: Read-only global 'globalThis' should not be modified.
19
+
,-[test.js:2:1]
20
+
1|// for env detection
21
+
2|globalThis='abc';
22
+
: ^^^^^|^^^^
23
+
: `-- Read-only global 'globalThis' should not be modified.
24
+
3 | $ = 'abc';
25
+
`----
26
+
27
+
! ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-global-assign.html\eslint(no-global-assign)]8;;\: Read-only global 'globalThis' should not be modified.
28
+
,-[test.ts:2:1]
29
+
1|// for env detection
30
+
2|globalThis='abc';
31
+
: ^^^^^|^^^^
32
+
: `-- Read-only global 'globalThis' should not be modified.
33
+
3 | $ = 'abc';
34
+
`----
35
+
36
+
! ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-global-assign.html\eslint(no-global-assign)]8;;\: Read-only global '$' should not be modified.
37
+
,-[test.js:3:1]
38
+
2|globalThis='abc';
39
+
3|$='abc';
40
+
: |
41
+
: `-- Read-only global '$' should not be modified.
42
+
4 |
43
+
`----
44
+
45
+
! ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-global-assign.html\eslint(no-global-assign)]8;;\: Read-only global 'Foo' should not be modified.
46
+
,-[test.js:6:1]
47
+
5|// for globals detection
48
+
6|Foo='readable';
49
+
: ^|^
50
+
: `-- Read-only global 'Foo' should not be modified.
51
+
`----
52
+
53
+
Found5warningsand0errors.
54
+
Finishedin <variable>ms on 3 files with 97 rules using 1 threads.
0 commit comments