Skip to content

Commit 20517e8

Browse files
authored
enable prettier by default (#25)
enable prettier by default
2 parents 8d1c6d5 + b15c013 commit 20517e8

16 files changed

+16
-43
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/App.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Sample React Native App
33
* https://github.com/facebook/react-native
44
*
5-
* @format
65
* @flow
76
*/
87

example/ProgressBarAndroidExample.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
* @flow
98
*/
109

example/ProgressBarTestModule.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';

example/RNTesterBlock.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

example/RNTesterPage.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

example/RNTesterTitle.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 strict-local
98
*/
109

example/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import React from 'react';
22
import {AppRegistry} from 'react-native';
33

4-
import {name as appName} from './app.json';
4+
import {name as appName} from './app.json';
55
import ProgressBarAndroidExample from './ProgressBarAndroidExample.android';
66

77
class ExampleApp extends React.Component<{}> {
88
render() {
9-
return (
10-
<ProgressBarAndroidExample />
11-
);
9+
return <ProgressBarAndroidExample />;
1210
}
1311
}
1412
AppRegistry.registerComponent(appName, () => ExampleApp);

example/metro.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Metro configuration for React Native
33
* https://github.com/facebook/react-native
44
*
5-
* @format
65
*/
76

87
module.exports = {

js/RNCProgressBarAndroid.android.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';

0 commit comments

Comments
 (0)