forked from AzureAD/microsoft-authentication-library-for-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
34 lines (34 loc) · 860 Bytes
/
.eslintrc
File metadata and controls
34 lines (34 loc) · 860 Bytes
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
{
"root": true,
"env": {
"browser": true,
"node": true,
"commonjs": true
},
"plugins": [
"header",
"security"
],
"extends": [
"eslint:recommended",
"plugin:security/recommended"
],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"eol-last": 2,
"eqeqeq": 2,
"header/header": [2, "block", [ "", " * Copyright (c) Microsoft Corporation. All rights reserved.", " * Licensed under the MIT License.", " " ], 2],
"multiline-comment-style": [2, "starred-block" ],
"no-console": 2,
"no-multiple-empty-lines": [2, { "max": 1 }],
"no-param-reassign": 2,
"no-var": 2,
"prefer-const": 2,
"quotes": [2, "double"],
"security/detect-non-literal-fs-filename": 0,
"security/detect-object-injection": 0,
"spaced-comment": 2
}
}