Skip to content

use prettier by default #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"requirePragma": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
Expand Down
1 change: 0 additions & 1 deletion example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/

Expand Down
1 change: 0 additions & 1 deletion js/ProgressViewIOS.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion js/ProgressViewIOS.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/

Expand Down
1 change: 0 additions & 1 deletion js/RNCProgressViewNativeComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/

'use strict';
Expand Down
8 changes: 6 additions & 2 deletions js/__tests__/ProgressViewIOS.ios.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ describe('<ProgressView />', () => {
});

it('renders Horizontal ProgressView', () => {
const tree = renderer.create(<ProgressView progressViewStyle="bar" />).toJSON();
const tree = renderer
.create(<ProgressView progressViewStyle="bar" />)
.toJSON();

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

it('renders ProgressView with tintColor', () => {
const tree = renderer.create(<ProgressView progressTintColor="red" />).toJSON();
const tree = renderer
.create(<ProgressView progressTintColor="red" />)
.toJSON();

expect(tree).toMatchSnapshot();
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/runtime": "^7.4.3",
"@react-native-community/eslint-config": "^0.0.6",
"@react-native-community/eslint-config": "^0.0.7",
"@react-native-community/eslint-plugin": "^1.0.0",
"@types/react": "^16.9.19",
"@types/react-native": "^0.61.2",
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1158,11 +1158,12 @@
wcwidth "^1.0.1"
ws "^1.1.0"

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