-
Notifications
You must be signed in to change notification settings - Fork 13
/
node.json
96 lines (87 loc) · 3.32 KB
/
node.json
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
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"extends": ["plugin:n/recommended"],
"plugins": ["@microsoft/sdl", "sonar"],
"parserOptions": { "ecmaVersion": "latest" },
"rules": {
"n/no-callback-literal": "error",
"n/exports-style": "error",
"n/prefer-global/buffer": "error",
"n/prefer-global/console": "error",
"n/prefer-global/process": "error",
"n/prefer-global/text-decoder": "error",
"n/prefer-global/text-encoder": "error",
"n/prefer-global/url-search-params": "error",
"n/prefer-global/url": "error",
"n/prefer-promises/dns": "error",
"n/prefer-promises/fs": "error",
"n/callback-return": "error",
"n/global-require": "error",
"n/handle-callback-err": ["error", "^.*(e|E)rror"],
"n/no-mixed-requires": "error",
"n/no-new-require": "error",
"n/no-path-concat": "error",
"n/no-process-env": "error",
"n/no-sync": "error",
"sonar/certificate-transparency": "error",
"sonar/confidential-information-logging": "error",
"sonar/content-security-policy": "error",
"sonar/cookie-no-httponly": "error",
"sonar/cors": "error",
"sonar/csrf": "error",
"sonar/encryption-secure-mode": "error",
"sonar/file-permissions": "error",
"sonar/file-uploads": "error",
"sonar/frame-ancestors": "error",
"sonar/hashing": "error",
"sonar/hidden-files": "error",
"sonar/insecure-cookie": "error",
"sonar/insecure-jwt-token": "error",
"sonar/no-ip-forward": "error",
"sonar/no-mime-sniff": "error",
"sonar/no-mixed-content": "error",
"sonar/no-os-command-from-path": "error",
"sonar/no-referrer-policy": "error",
"sonar/no-unsafe-unzip": "error",
"sonar/no-weak-cipher": "error",
"sonar/no-weak-keys": "error",
"sonar/os-command": "error",
"sonar/process-argv": "error",
"sonar/production-debug": "error",
"sonar/publicly-writable-directories": "error",
"sonar/session-regeneration": "error",
"sonar/sql-queries": "error",
"sonar/strict-transport-security": "error",
"sonar/unverified-certificate": "error",
"sonar/unverified-hostname": "error",
"sonar/weak-ssl": "error",
"sonar/x-powered-by": "error",
"sonar/xml-parser-xxe": "error",
"sonar/aws-apigateway-public-api": "error",
"sonar/aws-ec2-rds-dms-public": "error",
"sonar/aws-ec2-unencrypted-ebs-volume": "error",
"sonar/aws-efs-unencrypted": "error",
"sonar/aws-iam-all-privileges": "error",
"sonar/aws-iam-all-resources-accessible": "error",
"sonar/aws-iam-privilege-escalation": "error",
"sonar/aws-iam-public-access": "error",
"sonar/aws-opensearchservice-domain": "error",
"sonar/aws-rds-unencrypted-databases": "error",
"sonar/aws-restricted-ip-admin-access": "error",
"sonar/aws-s3-bucket-granted-access": "error",
"sonar/aws-s3-bucket-insecure-http": "error",
"sonar/aws-s3-bucket-public-access": "error",
"sonar/aws-s3-bucket-server-encryption": "error",
"sonar/aws-s3-bucket-versioning": "error",
"sonar/aws-sagemaker-unencrypted-notebook": "error",
"sonar/aws-sns-unencrypted-topics": "error",
"sonar/aws-sqs-unencrypted-queue": "error",
"@microsoft/sdl/no-unsafe-alloc": "error"
},
"overrides": [
{
"files": ["*.cjs", ".*.cjs", "*.mjs", ".*.mjs"],
"parserOptions": { "ecmaVersion": "latest" }
}
]
}