1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
| /**
| * @fileoverview Defines environment settings and globals.
| * @author Elan Shanker
| */
| "use strict";
|
| //------------------------------------------------------------------------------
| // Requirements
| //------------------------------------------------------------------------------
|
| const globals = require("globals");
|
| //------------------------------------------------------------------------------
| // Public Interface
| //------------------------------------------------------------------------------
|
| module.exports = {
| builtin: {
| globals: globals.es5
| },
| browser: {
| globals: globals.browser
| },
| node: {
| globals: globals.node,
| parserOptions: {
| ecmaFeatures: {
| globalReturn: true
| }
| }
| },
| commonjs: {
| globals: globals.commonjs,
| parserOptions: {
| ecmaFeatures: {
| globalReturn: true
| }
| }
| },
| "shared-node-browser": {
| globals: globals["shared-node-browser"]
| },
| worker: {
| globals: globals.worker
| },
| amd: {
| globals: globals.amd
| },
| mocha: {
| globals: globals.mocha
| },
| jasmine: {
| globals: globals.jasmine
| },
| jest: {
| globals: globals.jest
| },
| phantomjs: {
| globals: globals.phantomjs
| },
| jquery: {
| globals: globals.jquery
| },
| qunit: {
| globals: globals.qunit
| },
| prototypejs: {
| globals: globals.prototypejs
| },
| shelljs: {
| globals: globals.shelljs
| },
| meteor: {
| globals: globals.meteor
| },
| mongo: {
| globals: globals.mongo
| },
| protractor: {
| globals: globals.protractor
| },
| applescript: {
| globals: globals.applescript
| },
| nashorn: {
| globals: globals.nashorn
| },
| serviceworker: {
| globals: globals.serviceworker
| },
| atomtest: {
| globals: globals.atomtest
| },
| embertest: {
| globals: globals.embertest
| },
| webextensions: {
| globals: globals.webextensions
| },
| es6: {
| globals: globals.es2015,
| parserOptions: {
| ecmaVersion: 6
| }
| },
| greasemonkey: {
| globals: globals.greasemonkey
| }
| };
|
|