File tree 10 files changed +50
-10
lines changed
tc-communities/communities
10 files changed +50
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"extends": "./node_modules/topcoder-react-utils/config/eslint/default.json",
3
3
"rules": {
4
- "jsx-a11y/anchor-is-valid": false
4
+ "jsx-a11y/anchor-is-valid": false,
5
+ "jsx-a11y/label-has-for": [
6
+ 2,
7
+ {
8
+ "components": [
9
+ "Label"
10
+ ],
11
+ "required": {
12
+ "some": [
13
+ "nesting",
14
+ "id"
15
+ ]
16
+ },
17
+ "allowChildren": false
18
+ }
19
+ ],
20
+ "jsx-a11y/label-has-associated-control": [
21
+ 2,
22
+ {
23
+ "labelComponents": [
24
+ "CustomLabel"
25
+ ],
26
+ "labelAttributes": [
27
+ "inputLabel"
28
+ ],
29
+ "controlComponents": [
30
+ "CustomInput"
31
+ ],
32
+ "depth": 3
33
+ }
34
+ ],
35
+ "no-unused-vars": "off",
36
+ "no-undef": "off",
37
+ "react/jsx-no-undef": [
38
+ false
39
+ ],
40
+ "react/require-default-props": [
41
+ false
42
+ ],
43
+ "linebreak-style": 0,
44
+ "global-require": 0,
45
+ "eslint linebreak-style": [
46
+ 0,
47
+ "error",
48
+ "windows"
49
+ ]
5
50
}
6
51
}
Original file line number Diff line number Diff line change @@ -355,5 +355,5 @@ SideBar.propTypes = {
355
355
isDevelop : PT . bool ,
356
356
environment : PT . string ,
357
357
codeRepo : PT . string ,
358
- isMM :PT . bool ,
358
+ isMM : PT . bool ,
359
359
} ;
Original file line number Diff line number Diff line change 177
177
margin-bottom : 3 * $base-unit ;
178
178
}
179
179
}
180
-
Original file line number Diff line number Diff line change 153
153
@include xs-to-sm {
154
154
display : none ;
155
155
}
156
+
156
157
.handle {
157
158
color : $tc-dark-blue-110 ;
158
159
}
Original file line number Diff line number Diff line change 55
55
padding : 6px 0 ;
56
56
}
57
57
}
58
-
Original file line number Diff line number Diff line change 55
55
padding : 6px 0 ;
56
56
}
57
57
}
58
-
Original file line number Diff line number Diff line change 55
55
padding : 6px 0 ;
56
56
}
57
57
}
58
-
Original file line number Diff line number Diff line change 55
55
padding : 6px 0 ;
56
56
}
57
57
}
58
-
Original file line number Diff line number Diff line change 55
55
padding : 6px 0 ;
56
56
}
57
57
}
58
-
Original file line number Diff line number Diff line change 19
19
import _ from 'lodash' ;
20
20
import actions from 'actions/contentful' ;
21
21
22
- import space from './space' ;
23
22
24
23
import { errors , logger } from 'topcoder-react-lib' ;
25
24
import { config } from 'topcoder-react-utils' ;
25
+ import space from './space' ;
26
26
27
27
const { fireErrorMessage } = errors ;
28
28
@@ -58,7 +58,7 @@ function create(init) {
58
58
if ( ! validActions . has ( action . type ) ) return state ;
59
59
60
60
const { error, payload } = action ;
61
-
61
+
62
62
const newState = _ . clone ( state ) ;
63
63
const spaceName = payload . spaceName || config . CONTENTFUL . DEFAULT_SPACE_NAME ;
64
64
const environment = payload . environment || config . CONTENTFUL . DEFAULT_ENVIRONMENT ;
You can’t perform that action at this time.
0 commit comments