Skip to content

Commit 475bba9

Browse files
committed
change prettier a bit
1 parent aa3f443 commit 475bba9

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.prettierrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
arrowParens: 'avoid',
33
bracketSameLine: true,
4-
bracketSpacing: false,
54
singleQuote: true,
65
trailingComma: 'all',
76
};

template/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ import {
2626
} from 'react-native/Libraries/NewAppScreen';
2727
import LearnReduxLinks from './src/components/LearnReduxLinks';
2828
import Header from './src/components/Header';
29-
import {Counter} from './src/features/counter/Counter';
29+
import { Counter } from './src/features/counter/Counter';
3030

31-
declare const global: {HermesInternal: null | {}};
31+
declare const global: { HermesInternal: null | {} };
3232

3333
const App = () => {
3434
return (

template/_prettierrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
arrowParens: 'avoid',
33
bracketSameLine: true,
4-
bracketSpacing: false,
54
singleQuote: true,
65
trailingComma: 'all',
76
};

template/index.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
* @format
33
*/
44

5-
import {AppRegistry} from 'react-native';
5+
import { AppRegistry } from 'react-native';
66
import App from './App';
7-
import {name as appName} from './app.json';
8-
import {store} from './src/app/store';
9-
import {Provider} from 'react-redux';
7+
import { name as appName } from './app.json';
8+
import { store } from './src/app/store';
9+
import { Provider } from 'react-redux';
1010
import React from 'react';
1111

1212
AppRegistry.registerComponent(appName, () => () => (
13-
<Provider store={store}>
14-
<App />
15-
</Provider>
13+
<React.StrictMode>
14+
<Provider store={store}>
15+
<App />
16+
</Provider>
17+
</React.StrictMode>
1618
));

0 commit comments

Comments
 (0)