Skip to content

Commit d2c8985

Browse files
author
Awais Rana
committed
prettier issue resolved
2 parents 91ba49c + 92d0378 commit d2c8985

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
[![Release Date](https://img.shields.io/badge/Release%20Date-May%202020-green.svg)](https://shields.io/)
66
[![Version](https://img.shields.io/badge/Version-v1.0.0-green.svg)](https://shields.io/)
77
[![TypeScript Support](https://img.shields.io/badge/Typescript%20Support-Yes-green.svg)](https://shields.io/)
8-
[![Dark Theme Setup](https://img.shields.io/badge/Dark%20Theme-Yes-green.svg)](https://shields.io/)
8+
[![Dark Theme Setup](https://img.shields.io/badge/Theme%20Configured-Yes-green.svg)](https://shields.io/)
99
[![Firebase](https://img.shields.io/badge/Firebase-Yes-green.svg)](https://shields.io/)
10-
[![Code-Push Integrated](https://img.shields.io/badge/CodePush%20Integrated-Yes-green.svg)](https://shields.io/)
11-
[![Push Notifications](https://img.shields.io/badge/PushNotifications%20Integrated-Yes-green.svg)](https://shields.io/)
10+
[![Code-Push Integrated](https://img.shields.io/badge/Code%20Push%20Integrated-Yes-green.svg)](https://shields.io/)
11+
[![Push Notificaxtions](https://img.shields.io/badge/Push%20Notifications%20Configured-Yes-green.svg)](https://shields.io/)
1212
[![Redux](https://img.shields.io/badge/Redux-Yes-green.svg)](https://shields.io/)
1313
[![Offline Storage](https://img.shields.io/badge/Data%20Persist-Yes-green.svg)](https://shields.io/)
1414
[![Splash Screen](https://img.shields.io/badge/Splash%20Screen-Yes-green.svg)](https://shields.io/)

app/components/push-notifications.js

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const PushNotification = (props) => {
3434
//process data message
3535
console.log(message);
3636
});
37-
3837
}, []);
3938

4039
const getToken = async () => {

app/helpers/font-helper.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ import _ from 'lodash';
22

33
// use post script names for font families
44
const SFProDisplay = {
5-
'100': { fontFamily: 'SFProDisplay-Ultralight' },
5+
100: { fontFamily: 'SFProDisplay-Ultralight' },
66
'100italic': { fontFamily: 'SFProDisplay-UltralightItalic' },
7-
'200': { fontFamily: 'SFProDisplay-Thin' },
7+
200: { fontFamily: 'SFProDisplay-Thin' },
88
'200italic': { fontFamily: 'SFProDisplay-ThinItalic' },
9-
'300': { fontFamily: 'SFProDisplay-Light' },
9+
300: { fontFamily: 'SFProDisplay-Light' },
1010
'300italic': { fontFamily: 'SFProDisplay-LightItalic' },
11-
'400': { fontFamily: 'SFProDisplay-Regular' },
11+
400: { fontFamily: 'SFProDisplay-Regular' },
1212
'400italic': { fontFamily: 'SFProDisplay-RegularItalic' },
13-
'500': { fontFamily: 'SFProDisplay-Medium' },
13+
500: { fontFamily: 'SFProDisplay-Medium' },
1414
'500italic': { fontFamily: 'SFProDisplay-MediumItalic' },
15-
'600': { fontFamily: 'SFProDisplay-Semibold' },
15+
600: { fontFamily: 'SFProDisplay-Semibold' },
1616
'600italic': { fontFamily: 'SFProDisplay-SemiboldItalic' },
17-
'700': { fontFamily: 'SFProDisplay-Bold' },
17+
700: { fontFamily: 'SFProDisplay-Bold' },
1818
'700italic': { fontFamily: 'SFProDisplay-BoldItalic' },
19-
'800': { fontFamily: 'SFProDisplay-Heavy' },
19+
800: { fontFamily: 'SFProDisplay-Heavy' },
2020
'800italic': { fontFamily: 'SFProDisplay-HeavyItalic' },
21-
'900': { fontFamily: 'SFProDisplay-Black' },
21+
900: { fontFamily: 'SFProDisplay-Black' },
2222
'900italic': { fontFamily: 'SFProDisplay-BlackItalic' },
2323
};
2424

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"android:staging": "ENVFILE=.env.staging react-native run-android --variant=release",
1414
"android:production": "ENVFILE=.env.production react-native run-android --variant=release",
1515
"test": "jest",
16-
"prettier-fix": "prettier --write **/*.js",
16+
"prettier-fix": "prettier --write app/**/*.js",
1717
"prettier-check": "prettier --list-different **/*.js",
1818
"lint-fix": "eslint --fix .",
1919
"lint-check": "eslint .",
2020
"rename": "react-native-rename"
21+
2122
},
2223
"dependencies": {
2324
"@react-native-community/async-storage": "^1.9.0",

0 commit comments

Comments
 (0)