Skip to content

Commit 9a1e736

Browse files
committed
fix(package): publish .gitignore, always install and no semicolon lint
1 parent e2fe177 commit 9a1e736

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Starting point for creating React Native plugins without native code.
1010
## Usage
1111

1212
```
13-
npm init react-native-plugin react-native-my-plugin
13+
npm init -y react-native-plugin react-native-my-plugin
1414
# or
1515
npx create-react-native-plugin react-native-my-plugin
1616
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"source": "index.js",
2323
"files": [
2424
"template",
25+
"template/.gitignore",
2526
"**/*.js"
2627
],
2728
"keywords": [

template/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
"semi": false
3434
},
3535
"eslintConfig": {
36-
"extends": "@react-native-community"
36+
"extends": "@react-native-community",
37+
"rules": {
38+
"semi": 0
39+
}
3740
},
3841
"jest": {
3942
"preset": "react-native",

0 commit comments

Comments
 (0)