Skip to content

Commit 6d599fe

Browse files
committed
inline image return, make linter happy
1 parent 065dd73 commit 6d599fe

File tree

9 files changed

+3
-11
lines changed

9 files changed

+3
-11
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "ta-webapp"
2+
"extends": "ta-webapp",
33
}

docs/app/Examples/elements/List/Types/ListOrderedExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export default class ListOrderedExample extends Component {
1717
</List>
1818
);
1919
}
20-
};
20+
}

docs/app/Examples/elements/List/Variations/ListAnimatedExample.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import faker from 'faker';
22
import React, {Component} from 'react';
33
import {List, ListItem, Image} from 'stardust';
4-
import faker from 'faker';
54

65
export default class ListAnimatedExample extends Component {
76
render() {

docs/app/Examples/elements/List/Variations/ListCelledExample.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import faker from 'faker';
22
import React, {Component} from 'react';
33
import {List, ListItem, Image} from 'stardust';
4-
import faker from 'faker';
54

65
export default class ListCelledExample extends Component {
76
render() {

docs/app/Examples/elements/List/Variations/ListDividedExample.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import faker from 'faker';
22
import React, {Component} from 'react';
33
import {List, ListItem, Image} from 'stardust';
4-
import faker from 'faker';
54

65
export default class ListDividedExample extends Component {
76
render() {

docs/app/Examples/elements/List/Variations/ListHorizontalExample.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import faker from 'faker';
22
import React, {Component} from 'react';
33
import {List, ListItem, Image} from 'stardust';
4-
import faker from 'faker';
54

65
export default class ListHorizontalExample extends Component {
76
render() {

docs/app/Examples/elements/List/Variations/ListRelaxedExample.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import faker from 'faker';
22
import React, {Component} from 'react';
33
import {List, ListItem, Image} from 'stardust';
4-
import faker from 'faker';
54

65
export default class ListRelaxedExample extends Component {
76
render() {

docs/app/Examples/elements/List/Variations/ListSelectionExample.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import faker from 'faker';
22
import React, {Component} from 'react';
33
import {List, ListItem, Image} from 'stardust';
4-
import faker from 'faker';
54

65
export default class ListSelectionExample extends Component {
76
render() {

src/elements/Image/Image.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ export default class Image extends Component {
2323
'image'
2424
);
2525

26-
return (
27-
<img {...this.props} className={classes} />
28-
);
26+
return <img {...this.props} className={classes} />;
2927
}
3028
}

0 commit comments

Comments
 (0)