Skip to content

Commit 838d8ef

Browse files
russellsanbornoblador
authored andcommitted
Fixing es-lint problems (#86)
* Fixing es-lint problems I discovered these by pulling down the project for the first time and running ```bash npm test ``` I also am ignoring the package-lock.json since it showed up when I ran the following: ```bash npm install ``` * removing package-lock.json from .gitignore
1 parent 1ad22b8 commit 838d8ef

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Circle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export class ProgressCircle extends Component {
4444
showsText: PropTypes.bool,
4545
size: PropTypes.number,
4646
style: RNViewPropTypes.style,
47+
strokeCap: PropTypes.oneOf(['butt', 'square', 'round']),
4748
textStyle: Text.propTypes.style,
4849
thickness: PropTypes.number,
4950
unfilledColor: PropTypes.string,

CircleSnail.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class CircleSnail extends Component {
3232
spinDuration: PropTypes.number,
3333
style: RNViewPropTypes.style,
3434
thickness: PropTypes.number,
35-
strokeCap: PropTypes.string
35+
strokeCap: PropTypes.string,
3636
};
3737

3838
static defaultProps = {
@@ -42,7 +42,7 @@ export default class CircleSnail extends Component {
4242
hidesWhenStopped: false,
4343
size: 40,
4444
thickness: 3,
45-
strokeCap: 'round'
45+
strokeCap: 'round',
4646
};
4747

4848
constructor(props) {

0 commit comments

Comments
 (0)