Skip to content

Commit c51cffa

Browse files
author
Alejandro Rodriguez
committed
Initial version
0 parents  commit c51cffa

22 files changed

+1210
-0
lines changed

.eslintrc

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
{
2+
"env": {
3+
"browser": true
4+
},
5+
"globals": {
6+
"MashupPlatform": false,
7+
"Promise": false,
8+
"WeakMap": false
9+
},
10+
"rules": {
11+
"indent": [
12+
2,
13+
4,
14+
{
15+
"SwitchCase": 0
16+
}
17+
],
18+
"linebreak-style": [
19+
2,
20+
"unix"
21+
],
22+
"guard-for-in": 0,
23+
"no-alert": 2,
24+
"no-console": 2,
25+
"no-debugger": 2,
26+
"no-empty": [
27+
2,
28+
{
29+
"allowEmptyCatch": true
30+
}
31+
],
32+
"new-cap": [
33+
2,
34+
{
35+
"newIsCap": true,
36+
"capIsNew": true,
37+
"properties": true
38+
}
39+
],
40+
"brace-style": [
41+
2,
42+
"1tbs",
43+
{
44+
"allowSingleLine": true
45+
}
46+
],
47+
"no-eq-null": 0,
48+
"no-trailing-spaces": 2,
49+
"no-mixed-spaces-and-tabs": 2,
50+
"no-undef": 2,
51+
"no-unused-vars": [
52+
"error",
53+
{
54+
"vars": "all",
55+
"args": "none",
56+
"caughtErrors": "none"
57+
}
58+
],
59+
"func-call-spacing": [
60+
2,
61+
"never"
62+
],
63+
"func-style": [
64+
2,
65+
"expression"
66+
],
67+
"space-unary-ops": [
68+
2,
69+
{
70+
"words": false,
71+
"nonwords": false
72+
}
73+
],
74+
"array-bracket-spacing": [
75+
2,
76+
"never",
77+
{
78+
"singleValue": false
79+
}
80+
],
81+
"space-in-parens": [
82+
2,
83+
"never"
84+
],
85+
"key-spacing": [
86+
2,
87+
{
88+
"beforeColon": false,
89+
"afterColon": true
90+
}
91+
],
92+
"dot-notation": 2,
93+
"spaced-comment": [
94+
2,
95+
"always"
96+
],
97+
"space-before-blocks": [
98+
2,
99+
"always"
100+
],
101+
"space-infix-ops": 2,
102+
"keyword-spacing": [
103+
2,
104+
{}
105+
],
106+
"space-before-function-paren": [
107+
2,
108+
{"anonymous": "always", "named": "never", "asyncArrow": "always"}
109+
],
110+
"strict": [
111+
"error",
112+
"function"
113+
],
114+
"curly": [
115+
2,
116+
"all"
117+
]
118+
}
119+
}

.eslintrc-jasmine

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"jasmine": true
5+
},
6+
"globals": {
7+
"MashupPlatform": false,
8+
"Promise": false,
9+
"WeakMap": false
10+
},
11+
"rules": {
12+
"indent": [
13+
2,
14+
4,
15+
{
16+
"SwitchCase": 0
17+
}
18+
],
19+
"linebreak-style": [
20+
2,
21+
"unix"
22+
],
23+
"guard-for-in": 0,
24+
"no-alert": 2,
25+
"no-console": 2,
26+
"no-debugger": 2,
27+
"no-empty": [
28+
2,
29+
{
30+
"allowEmptyCatch": true
31+
}
32+
],
33+
"new-cap": [
34+
2,
35+
{
36+
"newIsCap": true,
37+
"capIsNew": true,
38+
"properties": true
39+
}
40+
],
41+
"brace-style": [
42+
2,
43+
"1tbs",
44+
{
45+
"allowSingleLine": true
46+
}
47+
],
48+
"no-eq-null": 0,
49+
"no-trailing-spaces": 2,
50+
"no-mixed-spaces-and-tabs": 2,
51+
"no-undef": 2,
52+
"no-unused-vars": [
53+
"error",
54+
{
55+
"vars": "all",
56+
"args": "none",
57+
"caughtErrors": "none"
58+
}
59+
],
60+
"func-call-spacing": [
61+
2,
62+
"never"
63+
],
64+
"func-style": [
65+
2,
66+
"expression"
67+
],
68+
"space-unary-ops": [
69+
2,
70+
{
71+
"words": false,
72+
"nonwords": false
73+
}
74+
],
75+
"array-bracket-spacing": [
76+
2,
77+
"never",
78+
{
79+
"singleValue": false
80+
}
81+
],
82+
"space-in-parens": [
83+
2,
84+
"never"
85+
],
86+
"key-spacing": [
87+
2,
88+
{
89+
"beforeColon": false,
90+
"afterColon": true
91+
}
92+
],
93+
"dot-notation": 2,
94+
"spaced-comment": [
95+
2,
96+
"always"
97+
],
98+
"space-before-blocks": [
99+
2,
100+
"always"
101+
],
102+
"space-infix-ops": 2,
103+
"keyword-spacing": [
104+
2,
105+
{}
106+
],
107+
"space-before-function-paren": [
108+
2,
109+
{"anonymous": "always", "named": "never", "asyncArrow": "always"}
110+
],
111+
"strict": [
112+
"error",
113+
"function"
114+
],
115+
"curly": [
116+
2,
117+
"all"
118+
]
119+
}
120+
}

.eslintrc-node

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"env": {
3+
"node": true
4+
},
5+
"globals": {
6+
"Promise": false,
7+
"WeakMap": false
8+
},
9+
"rules": {
10+
"indent": [
11+
2,
12+
4,
13+
{
14+
"SwitchCase": 0
15+
}
16+
],
17+
"linebreak-style": [
18+
2,
19+
"unix"
20+
],
21+
"guard-for-in": 0,
22+
"no-alert": 2,
23+
"no-console": 2,
24+
"no-debugger": 2,
25+
"no-empty": [
26+
2,
27+
{
28+
"allowEmptyCatch": true
29+
}
30+
],
31+
"new-cap": [
32+
2,
33+
{
34+
"newIsCap": true,
35+
"capIsNew": true,
36+
"properties": true
37+
}
38+
],
39+
"brace-style": [
40+
2,
41+
"1tbs",
42+
{
43+
"allowSingleLine": true
44+
}
45+
],
46+
"no-eq-null": 0,
47+
"no-trailing-spaces": 2,
48+
"no-mixed-spaces-and-tabs": 2,
49+
"no-undef": 2,
50+
"no-unused-vars": [
51+
"error",
52+
{
53+
"vars": "all",
54+
"args": "none",
55+
"caughtErrors": "none"
56+
}
57+
],
58+
"func-call-spacing": [
59+
2,
60+
"never"
61+
],
62+
"func-style": [
63+
2,
64+
"expression"
65+
],
66+
"space-unary-ops": [
67+
2,
68+
{
69+
"words": false,
70+
"nonwords": false
71+
}
72+
],
73+
"array-bracket-spacing": [
74+
2,
75+
"never",
76+
{
77+
"singleValue": false
78+
}
79+
],
80+
"space-in-parens": [
81+
2,
82+
"never"
83+
],
84+
"key-spacing": [
85+
2,
86+
{
87+
"beforeColon": false,
88+
"afterColon": true
89+
}
90+
],
91+
"dot-notation": 2,
92+
"spaced-comment": [
93+
2,
94+
"always"
95+
],
96+
"space-before-blocks": [
97+
2,
98+
"always"
99+
],
100+
"space-infix-ops": 2,
101+
"keyword-spacing": [
102+
2,
103+
{}
104+
],
105+
"space-before-function-paren": [
106+
2,
107+
{"anonymous": "always", "named": "never", "asyncArrow": "always"}
108+
],
109+
"strict": [
110+
"error",
111+
"function"
112+
],
113+
"curly": [
114+
2,
115+
"all"
116+
]
117+
}
118+
}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
bower_components/
2+
node_modules/
3+
src/bower_components/
4+
dist/
5+
build/
6+
_SpecRunner.html
7+
src/js/.tern-port
8+
.DS_Store

0 commit comments

Comments
 (0)