Skip to content

Commit e314f33

Browse files
authored
Merge pull request #1735 from rashmi73/issue_1732
Issue 1732
2 parents 79cfd5e + dd6ce45 commit e314f33

File tree

10 files changed

+50
-10
lines changed

10 files changed

+50
-10
lines changed

.eslintrc

+46-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,51 @@
11
{
22
"extends": "./node_modules/topcoder-react-utils/config/eslint/default.json",
33
"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+
]
550
}
651
}

src/shared/components/challenge-detail/Specification/SideBar/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,5 +355,5 @@ SideBar.propTypes = {
355355
isDevelop: PT.bool,
356356
environment: PT.string,
357357
codeRepo: PT.string,
358-
isMM:PT.bool,
358+
isMM: PT.bool,
359359
};

src/shared/components/challenge-detail/Specification/SideBar/styles.scss

-1
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,3 @@
177177
margin-bottom: 3 * $base-unit;
178178
}
179179
}
180-

src/shared/components/challenge-detail/Submissions/style.scss

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
@include xs-to-sm {
154154
display: none;
155155
}
156+
156157
.handle {
157158
color: $tc-dark-blue-110;
158159
}

src/shared/components/tc-communities/communities/blockchain/Home/style.scss

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@
5555
padding: 6px 0;
5656
}
5757
}
58-

src/shared/components/tc-communities/communities/iot/About/style.scss

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@
5555
padding: 6px 0;
5656
}
5757
}
58-

src/shared/components/tc-communities/communities/iot/GetStarted/style.scss

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@
5555
padding: 6px 0;
5656
}
5757
}
58-

src/shared/components/tc-communities/communities/iot/Home/style.scss

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@
5555
padding: 6px 0;
5656
}
5757
}
58-

src/shared/components/tc-communities/communities/tco19/Home/style.scss

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@
5555
padding: 6px 0;
5656
}
5757
}
58-

src/shared/reducers/contentful/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
import _ from 'lodash';
2020
import actions from 'actions/contentful';
2121

22-
import space from './space';
2322

2423
import { errors, logger } from 'topcoder-react-lib';
2524
import { config } from 'topcoder-react-utils';
25+
import space from './space';
2626

2727
const { fireErrorMessage } = errors;
2828

@@ -58,7 +58,7 @@ function create(init) {
5858
if (!validActions.has(action.type)) return state;
5959

6060
const { error, payload } = action;
61-
61+
6262
const newState = _.clone(state);
6363
const spaceName = payload.spaceName || config.CONTENTFUL.DEFAULT_SPACE_NAME;
6464
const environment = payload.environment || config.CONTENTFUL.DEFAULT_ENVIRONMENT;

0 commit comments

Comments
 (0)