Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Commit

Permalink
format and version
Browse files Browse the repository at this point in the history
  • Loading branch information
birkir committed Mar 8, 2019
1 parent b84b393 commit 7f37c22
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"start": "node node_modules/react-native/local-cli/cli.js start",
"rename": "sh ./scripts/rename.sh",
"podspec": "sh ./scripts/podspec.sh",
"prettier": "prettier --write 'src/**/*.{json,md,js,jsx,ts,tsx}'",
"test": "jest",
"test:e2e": "yarn build:e2e:ios && yarn test:e2e:ios",
"test:e2e:ios": "detox test --configuration ios.sim.release",
Expand Down Expand Up @@ -76,7 +77,7 @@
"@types/react-native-navigation": "2.0.0",
"@types/react-test-renderer": "16.8.1",
"@ueno/stylelint-config": "1.1.2",
"@ueno/tslint-config": "1.0.6",
"@ueno/tslint-config": "1.0.8",
"babel-jest": "24.3.0",
"detox": "10.0.12",
"enzyme": "3.9.0",
Expand All @@ -97,6 +98,7 @@
"stylelint": "9.10.1",
"ts-jest": "24.0.0",
"tslint": "5.13.1",
"tslint-config-prettier": "1.18.0",
"typescript": "3.3.3333"
},
"jest": {
Expand Down
10 changes: 5 additions & 5 deletions src/components/button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';
import {
View,
Text,
TouchableOpacity,
TouchableNativeFeedback,
AccessibilityTrait,
GestureResponderEvent,
Platform,
AccessibilityTrait,
Text,
TouchableNativeFeedback,
TouchableOpacity,
View,
ViewStyle,
} from 'react-native';
import s from './Button.scss';
Expand Down
2 changes: 1 addition & 1 deletion src/screens/home/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import { Image, Text, View } from 'react-native';
import { Navigation } from 'react-native-navigation';
import Logo from '../../assets/images/logo.png';
import { Button } from '../../components/button/Button';
import { COUNTER } from '../index';
import Logo from '../../assets/images/logo.png';
import s from './Home.scss';
export const HomeScreen = ({ componentId }: any) => {
const onCounterScreenPress = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/setup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Sentry } from 'react-native-sentry';
import CodePush from 'react-native-code-push';
import { Sentry } from 'react-native-sentry';
import { config } from './config';

if (!__DEV__ && config.SENTRY_DSN) {
Expand Down
3 changes: 1 addition & 2 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "@ueno/tslint-config/react-native",
"extends": ["@ueno/tslint-config/react-native", "tslint-config-prettier"],
"rules": {
"origin-ordered-imports": false,
"interface-name": false
}
}
13 changes: 9 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1323,10 +1323,10 @@
stylelint-config-primer "3.0.1"
stylelint-order "2.0.0"

"@ueno/tslint-config@1.0.6":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@ueno/tslint-config/-/tslint-config-1.0.6.tgz#be61901f557c3ce01dc673926fe4f07aa3d3065e"
integrity sha512-1Wvt+2g9Rg2j8A9Df4f8LFPnlCqX/8rVDn3V1YhFNRzDHPbOPAIaurNnf5qAs00nkQGkvMQy9lY0LE4oCPLVeg==
"@ueno/tslint-config@1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@ueno/tslint-config/-/tslint-config-1.0.8.tgz#d4a3f707eaa27572f4e70f771660bd54a67248c9"
integrity sha512-PFymuzIcqUyNUgejc9arxfvoER7S5yiWSzZmBdQwkByVdUiBjAtrmrKZ3ZV+lfWz9WH5AQFi4P2RtlEeawu69g==
dependencies:
tslint "^5.12.1"
tslint-config-airbnb "^5.11.1"
Expand Down Expand Up @@ -10723,6 +10723,11 @@ tslint-config-airbnb@^5.11.1:
tslint-eslint-rules "^5.4.0"
tslint-microsoft-contrib "~5.2.1"

tslint-config-prettier@1.18.0:
version "1.18.0"
resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.18.0.tgz#75f140bde947d35d8f0d238e0ebf809d64592c37"
integrity sha512-xPw9PgNPLG3iKRxmK7DWr+Ea/SzrvfHtjFt5LBl61gk2UBG/DB9kCXRjv+xyIU1rUtnayLeMUVJBcMX8Z17nDg==

tslint-consistent-codestyle@^1.14.1:
version "1.15.0"
resolved "https://registry.yarnpkg.com/tslint-consistent-codestyle/-/tslint-consistent-codestyle-1.15.0.tgz#a3acf8d0a3ca0dc7d1285705102ba1fe4a17c4cb"
Expand Down

0 comments on commit 7f37c22

Please sign in to comment.