-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
56 lines (56 loc) · 1.58 KB
/
.eslintrc.js
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
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
'jest/globals': true,
},
extends: 'eslint:recommended',
parserOptions: {
ecmaVersion: 12,
},
plugins: ['jest'],
rules: {},
globals: {
// Cloudflare Workers Runtime APIs
crypto: 'readonly',
// KV Namespaces
ADDRESS_COORDINATES: 'readonly',
// Environment Variables
GOOGLE_GEOCODE_API_KEY: 'readonly',
SENDGRID_API_KEY: 'readonly',
SENDGRID_FROM_EMAIL: 'readonly',
ORDER_SERVICE_ERROR_TEMPLATE_ID: 'readonly',
SENDGRID_FROM_NAME: 'readonly',
SENDGRID_FROM_NAME_INST: 'readonly',
SENDGRID_TO_EMAIL: 'readonly',
SENDGRID_TEMPLATE_ID: 'readonly',
TO_INSTALLATION_EMAILS: 'readonly',
INSTALLATION_TEMPLATE: 'readonly',
MAX_ITEMS_FOR_PLANT: 'readonly',
GTS_DISTANCE_MILES: 'readonly',
SAP_MSG_DISTRIBUTOR: 'readonly',
SAP_MSG_PLANT: 'readonly',
SHOPIFY_API_KEY: 'readonly',
SHOPIFY_API_PASSWORD: 'readonly',
SHOPIFY_SHOP_ID: 'readonly',
SHOPIFY_WEBHOOK_SECRET: 'readonly',
APP: 'readonly',
ENV: 'readonly',
SENTRY_PROJECT_ID: 'readonly',
CLIENT_VERSION: 'readonly',
SENTRY_KEY: 'readonly',
RELEASE: 'readonly',
RETRIES: 'readonly',
CLIENT_NAME: 'readonly',
DISTRIBUTOR_ZIP_CODES: 'readonly',
DISTRIBUTOR_ALASKA: 'readonly',
DISTRIBUTOR_HAWAII: 'readonly',
// Kanopi OrderService API variables
SAP_ORDERSERVICE_URL: 'readonly',
SAP_ORDERSERVICE_USER: 'readonly',
SAP_ORDERSERVICE_PASS: 'readonly',
SHOP_URL: 'readonly',
EDD_TEMPLATE: 'readonly',
},
};