Skip to content

Commit 3b6634b

Browse files
committed
Lint correctly
1 parent fce0c82 commit 3b6634b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"babel-preset-react": "^6.16.0",
5959
"babel-preset-react-hmre": "^1.1.1",
6060
"babel-preset-stage-0": "^6.16.0",
61+
"babel-types": "^6.18.0",
6162
"chai": "^3.5.0",
6263
"cross-env": "^3.1.3",
6364
"css-loader": "^0.25.0",

src/Dropdown/Dropdown.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ export default class Dropdown extends Component {
8787
} else if (ay === 'bottom') {
8888
spaceAbove = target.top - pad + oy
8989
spaceBelow = innerHeight - target.bottom - pad + oy
90-
} else if (ay === 'middle') {
9190
}
9291
} else if (ty === 'bottom') {
9392
if (ay === 'top') {
@@ -96,7 +95,6 @@ export default class Dropdown extends Component {
9695
} else if (ay === 'bottom') {
9796
spaceAbove = target.bottom - pad + oy
9897
spaceBelow = innerHeight - target.bottom - pad + oy
99-
} else if (ay === 'middle') {
10098
}
10199
} else if (ty === 'middle') {
102100
if (ay === 'top' || ay === 'bottom') {

src/MultiSelectField/MultiSelectField.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default class MultiSelectField extends Component {
3636
this.onTextfieldBlur = this.onTextfieldBlur.bind(this)
3737
this.onChipClose = this.onChipClose.bind(this)
3838
if (props.showChipsBelow) {
39+
// eslint-disable-next-line no-console
3940
console.warn('Prop showChipsBelow is deprecated! Use chipsBelow instead.')
4041
}
4142
}
@@ -69,7 +70,7 @@ export default class MultiSelectField extends Component {
6970

7071
render() {
7172
const {
72-
align, className, chipsAfter, chipsOutside, showChipsBelow,
73+
align, className, chipsAfter, chipsOutside, showChipsBelow,// eslint-disable-line no-unused-vars
7374
error, label, offset, readOnly, value,
7475
} = this.props
7576

0 commit comments

Comments
 (0)