Skip to content

Commit

Permalink
fix: type definition comment and add eslint rule for no-unused-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
IB3N committed Nov 11, 2022
1 parent 337e96a commit ad8137b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ module.exports = {
plugins: ['react', 'react-native'],
rules: {
'react/jsx-props-no-spreading': 'warn',
'no-unused-vars': 'error',
},
};
2 changes: 1 addition & 1 deletion src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export interface StoryProps {
unPressedBorderColor?: TextStyle['color'];
/** The color of the avatar border when seen */
pressedBorderColor?: TextStyle['color'];
/** Called when story item close button is press */
/** Called when story item close button is pressed */
onClose?: (props?: IUserStory) => any;
/** Called when story item is loaded */
onStart?: (props?: IUserStory) => any;
Expand Down

0 comments on commit ad8137b

Please sign in to comment.