Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 7e3cde7

Browse files
committed
add missing config files
1 parent 2b5a69c commit 7e3cde7

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed

.cslintrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"box-model": false,
3+
"ids": false,
4+
"known-properties": false,
5+
"overqualified-elements": false,
6+
"unique-headings": false
7+
}

.eslintrc

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"rules": {
3+
"array-bracket-spacing": 2,
4+
"block-spacing": [2, "never"],
5+
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
6+
"camelcase": [2, {"properties": "always"}],
7+
"curly": 2,
8+
"default-case": 2,
9+
"dot-notation": 2,
10+
"eqeqeq": 2,
11+
"indent": [
12+
2,
13+
2,
14+
{
15+
"SwitchCase": 1,
16+
"VariableDeclarator": 2,
17+
"MemberExpression": 2,
18+
"CallExpression": {"arguments": 2}
19+
}
20+
],
21+
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
22+
"max-len": [2, 80, 2, {"ignoreUrls": true}],
23+
"new-cap": 2,
24+
"no-console": 0,
25+
"no-else-return": 2,
26+
"no-eval": 2,
27+
"no-multi-spaces": 2,
28+
"no-multiple-empty-lines": [2, {"max": 2}],
29+
"no-shadow": 0,
30+
"no-trailing-spaces": 2,
31+
"no-unused-expressions": 2,
32+
"no-unused-vars": [2, {"args": "none"}],
33+
"object-curly-spacing": [2, "never"],
34+
"padded-blocks": [2, "never"],
35+
"quotes": [
36+
2,
37+
"single"
38+
],
39+
"semi": [
40+
2,
41+
"always"
42+
],
43+
"space-before-blocks": 2,
44+
"space-before-function-paren": [2, "never"],
45+
"spaced-comment": 2,
46+
"valid-typeof": 2
47+
},
48+
"env": {
49+
"es6": true,
50+
"browser": true,
51+
"node": false
52+
},
53+
"extends": ["eslint:recommended", "webrtc"],
54+
"globals": {
55+
"adapter": true,
56+
"addExplicitTest": true,
57+
"addTest": true,
58+
"audioContext": true,
59+
"currentTest": true,
60+
"report": true,
61+
"testSuiteName": true,
62+
"testCaseName": true,
63+
"parseUrlParameters": true,
64+
"arrayAverage": true,
65+
"arrayMax": true,
66+
"arrayMin": true,
67+
"TURN_URL": true,
68+
"Ssim": true,
69+
"StatisticsAggregate": true,
70+
"API_KEY": true,
71+
"doGetUserMedia": true,
72+
"Call": true,
73+
"setTimeoutWithProgressBar": true,
74+
"ga": true,
75+
}
76+
}

0 commit comments

Comments
 (0)