Skip to content
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

enable prettier by default #57

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/__tests__/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @format
* @lint-ignore-every XPLATJSCOPYRIGHT1
*/

Expand Down
8 changes: 4 additions & 4 deletions example/e2e/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ const adapter = require('detox/runners/jest/adapter');
jest.setTimeout(300000);
jasmine.getEnv().addReporter(adapter);

beforeAll(async () => {
await detox.init(config);
beforeAll(async () => {
await detox.init(config);
});

beforeEach(async () => {
beforeEach(async () => {
await adapter.beforeEach();
});

afterAll(async () => {
afterAll(async () => {
await adapter.afterAll();
await detox.cleanup();
});
1 change: 0 additions & 1 deletion example/e2e/testCases/example.e2e.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

it('finds example text', async () => {
await expect(element(by.id('headerText'))).toBeVisible();
});
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 example/src/App.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 lib/ImageEditor.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
*/

import {NativeModules} from 'react-native';
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test:flow": "flow check",
"test:eslint": "eslint 'lib/**/*.js' 'example/**/*.js'",
"test:eslint": "eslint \"lib/**/*.js\" \"example/**/*.js\"",
"release": "release-it",
"test:detox:android:test:debug": "detox test -c android.emu.debug",
"test:detox:android:test:release": "detox test -c android.emu.release",
Expand All @@ -42,13 +42,13 @@
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@react-native-community/eslint-config": "^0.0.2",
"@react-native-community/eslint-config": "^0.0.7",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "24.1.0",
"babel-plugin-module-resolver": "^3.1.3",
"detox": "^12.4.9",
"eslint": "5.10.0",
"eslint": "^6.8.0",
"flow-bin": "0.86.0",
"jest": "24.1.0",
"metro-react-native-babel-preset": "0.51.1",
Expand Down
Loading