Skip to content

Commit 9b8abec

Browse files
author
郑傲今
committed
feat: v2.2.0
1 parent 4405b3c commit 9b8abec

25 files changed

+2919
-2047
lines changed

.babelrc

Lines changed: 0 additions & 22 deletions
This file was deleted.

.eslintignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
/dist/
2-
/bin/
32
/dll/
4-
/server/
5-
/config/
63
project.config.js
7-
webpack.config.js
8-
webpack.dll.config.js
4+
proxy.config.js

.eslintrc.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ module.exports = {
1111
'plugin:react/recommended'
1212
],
1313
globals: {
14-
JSBridge : true,
15-
window : true,
16-
document : true,
17-
wx : true,
18-
__ENV__ : true
14+
window : true,
15+
document : true,
16+
__ENV__ : true,
17+
__BRANCH__: true
1918
},
2019
parserOptions: {
2120
sourceType : 'module',
@@ -49,19 +48,20 @@ module.exports = {
4948
'eol-last' : 'off',
5049
'no-useless-escape' : 'off',
5150
'no-useless-constructor' : 'off',
52-
'semi' : ['error', "never"],
51+
'semi' : ['error', 'never'],
5352
'arrow-parens' : ['error', 'as-needed'],
5453
'no-multiple-empty-lines' : ['error', { 'max': 1 }],
5554
'space-before-function-paren' : ['error', 'never'],
5655
'no-trailing-spaces' : ['error', { 'skipBlankLines': true }],
56+
'prefer-promise-reject-errors' : ['error', { 'allowEmptyReject': true }],
5757
'jsx-quotes' : ['error', 'prefer-single'],
5858
'no-unreachable' : process.env.NODE_ENV === 'production' ? 'error' : 'off',
5959
'no-debugger' : process.env.NODE_ENV === 'production' ? 'error' : 'off',
6060
'no-console' : process.env.NODE_ENV === 'production' ? 'error' : 'off',
6161
'react/prop-types' : 'off',
6262
"react/no-array-index-key" : 'off',
6363
'react/jsx-closing-bracket-location': 'error',
64-
"react/self-closing-comp" : ['error', {"component": true, "html": false}],
65-
'react/jsx-tag-spacing' : ['error', {'beforeSelfClosing': 'always'}]
64+
"react/self-closing-comp" : ['error', { 'component': true, 'html': false }],
65+
'react/jsx-tag-spacing' : ['error', { 'beforeSelfClosing': 'always' }]
6666
}
6767
}

README-en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![react-starter-kit](./logo.png)
1+
![react-starter-kit](https://jines-z.github.io/images/rs_logo.png)
22
---------------------------------------------------------------
33
[![React](https://img.shields.io/badge/react-^16.2.0-brightgreen.svg?style=flat-square)](https://github.com/facebook/react)
44
[![Ant Design](https://img.shields.io/badge/ant--design-^3.8.0-yellowgreen.svg?style=flat-square)](https://github.com/ant-design/ant-design)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![react-starter-kit](./logo.png)
1+
![react-starter-kit](https://jines-z.github.io/images/rs_logo.png)
22
---------------------------------------------------------------
33
[![React](https://img.shields.io/badge/react-^16.2.0-brightgreen.svg?style=flat-square)](https://github.com/facebook/react)
44
[![Ant Design](https://img.shields.io/badge/ant--design-^3.8.0-yellowgreen.svg?style=flat-square)](https://github.com/ant-design/ant-design)

bin/build.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

bin/dll.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

bin/start.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

config/webpack.base.config.js

Lines changed: 0 additions & 132 deletions
This file was deleted.

config/webpack.dev.config.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)