8000 more fixing for eslint · codeReader52/scripts@df4fb33 · GitHub
[go: up one dir, main page]

Skip to content

Commit df4fb33

Browse files
committed
more fixing for eslint
1 parent 60dbc28 commit df4fb33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup-react-native/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
root: true,
33
parser: '@typescript-eslint/parser',
4-
extends: ['@react-native-community', 'eslint:recommended', 'google', 'plugin:react/recommended'],
4+
extends: ['@react-native-community', 'eslint:recommended', 'plugin:react/recommended'],
55
plugins: ['react', '@typescript-eslint', 'react-hooks'],
66
rules: {
77
'comma-dangle': ['error', 'never'],

setup-react-native/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ expo init $app_name
4141
cd $app_name
4242

4343
yarn add --dev typescript @types/react @types/react-native react-native-typescript-transformer
44-
yarn add --dev eslint eslint-config-google eslint-plugin-react eslint-plugin-react-hooks
44+
yarn add --dev eslint prettier @react-native-community/eslint-config eslint-plugin-react eslint-plugin-react-hooks
4545
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser
4646

4747

0 commit comments

Comments
 (0)
0