Skip to content

Commit 856fc72

Browse files
committed
use prettier by default
1 parent 34dd5df commit 856fc72

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.prettierrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"requirePragma": true,
32
"singleQuote": true,
43
"trailingComma": "all",
54
"bracketSpacing": false,

example/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @format
87
* @flow
98
*/
109

js/ProgressViewIOS.android.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @format
87
*/
98

109
'use strict';

js/ProgressViewIOS.ios.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @format
87
* @flow
98
*/
109

js/RNCProgressViewNativeComponent.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @flow
8-
* @format
98
*/
109

1110
'use strict';

js/__tests__/ProgressViewIOS.ios.test.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ describe('<ProgressView />', () => {
1010
});
1111

1212
it('renders Horizontal ProgressView', () => {
13-
const tree = renderer.create(<ProgressView progressViewStyle="bar" />).toJSON();
13+
const tree = renderer
14+
.create(<ProgressView progressViewStyle="bar" />)
15+
.toJSON();
1416

1517
expect(tree).toMatchSnapshot();
1618
});
1719

1820
it('renders ProgressView with tintColor', () => {
19-
const tree = renderer.create(<ProgressView progressTintColor="red" />).toJSON();
21+
const tree = renderer
22+
.create(<ProgressView progressTintColor="red" />)
23+
.toJSON();
2024

2125
expect(tree).toMatchSnapshot();
2226
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"devDependencies": {
4242
"@babel/core": "^7.4.3",
4343
"@babel/runtime": "^7.4.3",
44-
"@react-native-community/eslint-config": "^0.0.6",
44+
"@react-native-community/eslint-config": "^0.0.7",
4545
"@react-native-community/eslint-plugin": "^1.0.0",
4646
"@types/react": "^16.9.19",
4747
"@types/react-native": "^0.61.2",

yarn.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,11 +1158,12 @@
11581158
wcwidth "^1.0.1"
11591159
ws "^1.1.0"
11601160

1161-
"@react-native-community/eslint-config@^0.0.6":
1162-
version "0.0.6"
1163-
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-config/-/eslint-config-0.0.6.tgz#9f1dffde994a14db7504a969f21cdf49f470eb34"
1164-
integrity sha512-jtMZ1fzYYykrllbTCATZ8n5HS6Npwv9gusPk/+lMUBrmLXolGFiHFJQIpdcQzWFQb6POigAxo0O+xSiwlsT7Rw==
1161+
"@react-native-community/eslint-config@^0.0.7":
1162+
version "0.0.7"
1163+
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-config/-/eslint-config-0.0.7.tgz#2a91d336b413d8c77ac5fa634b66703f481243ac"
1164+
integrity sha512-khKxg3BMsXZYSXLat0ygSqTM0KdgciK+gm+hGecM7HzQA10hNTKeMmoFNiNxV+M/5PUyTsnRAz4RtWPVWLuPfQ==
11651165
dependencies:
1166+
"@react-native-community/eslint-plugin" "^1.0.0"
11661167
"@typescript-eslint/eslint-plugin" "^1.5.0"
11671168
"@typescript-eslint/parser" "^1.5.0"
11681169
babel-eslint "10.0.3"

0 commit comments

Comments
 (0)