forked from microsoft/BotFramework-WebChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.node.yml
43 lines (39 loc) · 903 Bytes
/
.eslintrc.node.yml
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
plugins:
- node
extends:
- plugin:node/recommended
env:
node: true
parserOptions:
ecmaVersion: 2020
rules:
node/callback-return: error
node/global-require: error
node/handle-callback-err: error
node/no-missing-import:
- error
- tryExtensions:
- '.js'
- '.json'
- '.node'
- '.ts'
node/no-mixed-requires: error
node/no-new-require: error
node/no-path-concat: error
node/no-sync: error
node/no-unpublished-import: error
node/no-unpublished-require:
- error
# The following packages did not publish any exports.
- allowModules:
- express
- global-agent
- http-proxy-middleware
- istanbul-lib-coverage
- jest-environment-node
- jest-image-snapshot
- node-fetch
- p-defer-es5
- selenium-webdriver
- strip-ansi
node/prefer-global/buffer: error