Skip to content

Commit b468b05

Browse files
Merge pull request #434 from arniu/clean
添加 lint 工具并修复 example 错误
2 parents ac753a5 + 5acfc47 commit b468b05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2512
-7007
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.{diff,md}]
12+
trim_trailing_whitespace = false

.github/issue_template.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,21 @@
77
* 插件版本:
88
* react-native 版本:
99

10-
11-
1210
## 期望效果
1311

1412
告诉我们你希望达到什么效果。
1513

16-
17-
1814
## 实际效果
1915

2016
告诉我们实际是什么效果。
2117

22-
23-
2418
## 重现步骤
2519

26-
1. ...
27-
2. ...
28-
3. ...
29-
4. ...
30-
31-
20+
1. ...
21+
2. ...
22+
3. ...
23+
4. ...
3224

3325
## Debug logs
3426

3527
包括 Android 或 iOS 的日志:
36-

.gitignore

Lines changed: 202 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,205 @@
1+
### Android template
2+
# Built application files
3+
*.apk
4+
*.ap_
5+
6+
# Files for the ART/Dalvik VM
7+
*.dex
8+
9+
# Java class files
10+
*.class
11+
12+
# Generated files
13+
bin/
14+
gen/
15+
out/
16+
117
# Gradle files
2-
*.gradle/
3-
gradle.properties
18+
.gradle/
419
build/
5-
build-res/
6-
/*/build/
7-
*.iml
8-
*.idea/
9-
*.DS_Store
20+
21+
# Local configuration file (sdk path, etc)
22+
local.properties
23+
24+
# Proguard folder generated by Eclipse
25+
proguard/
26+
27+
# Log Files
1028
*.log
11-
.qshell
12-
*.qshell
29+
30+
# Android Studio Navigation editor temp files
31+
.navigation/
32+
33+
# Android Studio captures folder
34+
captures/
35+
36+
# IntelliJ
37+
*.iml
38+
.idea/workspace.xml
39+
.idea/tasks.xml
40+
.idea/gradle.xml
41+
.idea/dictionaries
42+
.idea/libraries
43+
44+
# Keystore files
45+
# Uncomment the following line if you do not want to check your keystore files in.
46+
#*.jks
47+
48+
# External native build folder generated in Android Studio 2.2 and later
49+
.externalNativeBuild
50+
51+
# Google Services (e.g. APIs or Firebase)
52+
google-services.json
53+
54+
# Freeline
55+
freeline.py
56+
freeline/
57+
freeline_project_description.json
58+
59+
### JetBrains template
60+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
61+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
62+
63+
# User-specific stuff:
64+
.idea/**/workspace.xml
65+
.idea/**/tasks.xml
66+
67+
# Sensitive or high-churn files:
68+
.idea/**/dataSources/
69+
.idea/**/dataSources.ids
70+
.idea/**/dataSources.xml
71+
.idea/**/dataSources.local.xml
72+
.idea/**/sqlDataSources.xml
73+
.idea/**/dynamic.xml
74+
.idea/**/uiDesigner.xml
75+
76+
# Gradle:
77+
.idea/**/gradle.xml
78+
.idea/**/libraries
79+
80+
# CMake
81+
cmake-build-debug/
82+
cmake-build-release/
83+
84+
# Mongo Explorer plugin:
85+
.idea/**/mongoSettings.xml
86+
87+
## File-based project format:
88+
*.iws
89+
90+
## Plugin-specific files:
91+
92+
# IntelliJ
93+
94+
# mpeltonen/sbt-idea plugin
95+
.idea_modules/
96+
97+
# JIRA plugin
98+
atlassian-ide-plugin.xml
99+
100+
# Cursive Clojure plugin
101+
.idea/replstate.xml
102+
103+
# Crashlytics plugin (for Android Studio and IntelliJ)
104+
com_crashlytics_export_strings.xml
105+
crashlytics.properties
106+
crashlytics-build.properties
107+
fabric.properties
108+
109+
### VisualStudioCode template
110+
.vscode/*
111+
!.vscode/settings.json
112+
!.vscode/tasks.json
113+
!.vscode/launch.json
114+
!.vscode/extensions.json
115+
116+
### Xcode template
117+
# Xcode
118+
#
119+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
120+
121+
## User settings
122+
xcuserdata/
123+
124+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
125+
*.xcscmblueprint
126+
*.xccheckout
127+
128+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
129+
DerivedData/
130+
*.moved-aside
131+
*.pbxuser
132+
!default.pbxuser
133+
*.mode1v3
134+
!default.mode1v3
135+
*.mode2v3
136+
!default.mode2v3
137+
*.perspectivev3
138+
!default.perspectivev3
139+
140+
### Node template
141+
# Logs
142+
logs
143+
npm-debug.log*
144+
yarn-debug.log*
145+
yarn-error.log*
146+
147+
# Runtime data
148+
pids
149+
*.pid
150+
*.seed
151+
*.pid.lock
152+
153+
# Directory for instrumented libs generated by jscoverage/JSCover
154+
lib-cov
155+
156+
# Coverage directory used by tools like istanbul
157+
coverage
158+
159+
# nyc test coverage
160+
.nyc_output
161+
162+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
163+
.grunt
164+
165+
# Bower dependency directory (https://bower.io/)
166+
bower_components
167+
168+
# node-waf configuration
169+
.lock-wscript
170+
171+
# Compiled binary addons (https://nodejs.org/api/addons.html)
172+
build/Release
173+
174+
# Dependency directories
175+
node_modules/
176+
jspm_packages/
177+
178+
# Typescript v1 declaration files
179+
typings/
180+
181+
# Optional npm cache directory
182+
.npm
183+
184+
# Optional eslint cache
185+
.eslintcache
186+
187+
# Optional REPL history
188+
.node_repl_history
189+
190+
# Output of 'npm pack'
191+
*.tgz
192+
193+
# Yarn Integrity file
194+
.yarn-integrity
195+
196+
# dotenv environment variables file
197+
.env
198+
199+
# next.js build output
200+
.next
201+
202+
### Customize
203+
package-lock.json
204+
yarn.lock
205+
*.qshell

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.npmignore

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,3 @@
1-
# OSX
2-
#
3-
.DS_Store
4-
5-
# Xcode
6-
#
7-
build/
8-
android/build/
9-
*.pbxuser
10-
!default.pbxuser
11-
*.mode1v3
12-
!default.mode1v3
13-
*.mode2v3
14-
!default.mode2v3
15-
*.perspectivev3
16-
!default.perspectivev3
17-
xcuserdata
18-
*.xccheckout
19-
*.moved-aside
20-
DerivedData
21-
*.hmap
22-
*.ipa
23-
*.xcuserstate
24-
25-
# node.js
26-
#
27-
node_modules/
28-
npm-debug.log
29-
30-
# Don't publish example apps
311
example/
32-
# .idea
33-
2+
.github/
343
.idea/
35-
.gradle/

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
android/
2+
ios/
3+
4+
# TODO: remove it
5+
JPushConfiguration.js

0 commit comments

Comments
 (0)