Skip to content

Commit 94ddf95

Browse files
committed
Update linting
1 parent 6bdcf02 commit 94ddf95

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"chai": "^4.0.0",
3838
"enzyme": "^2.7.1",
3939
"eslint": "^4.3.0",
40-
"eslint-config-takiyon-react": "^0.1.0",
40+
"eslint-config-takiyon-react": "^0.2.0",
4141
"eslint-import-resolver-webpack": "^0.8.1",
4242
"eslint-plugin-import": "^2.2.0",
4343
"eslint-plugin-jsx-a11y": "^5.0.1",

src/js/CheckboxTree.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,13 @@ class CheckboxTree extends React.Component {
197197
}
198198

199199
renderTreeNodes(nodes, parent = {}) {
200-
const { disabled, expandDisabled, noCascade, optimisticToggle, showNodeIcon } = this.props;
200+
const {
201+
disabled,
202+
expandDisabled,
203+
noCascade,
204+
optimisticToggle,
205+
showNodeIcon,
206+
} = this.props;
201207
const treeNodes = nodes.map((node) => {
202208
const key = `${node.value}`;
203209
const checked = this.getCheckState(node, noCascade);

src/js/TreeNode.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,15 @@ class TreeNode extends React.Component {
139139
}
140140

141141
render() {
142-
const { checked, className, disabled, treeId, label, showNodeIcon, value } = this.props;
142+
const {
143+
checked,
144+
className,
145+
disabled,
146+
label,
147+
showNodeIcon,
148+
treeId,
149+
value,
150+
} = this.props;
143151
const inputId = `${treeId}-${value}`;
144152
const nodeClass = classNames({
145153
'rct-node': true,

0 commit comments

Comments
 (0)