mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
chore: enable class properties for react components (#1067)
This commit is contained in:
parent
e3772227a6
commit
b19df01b49
1
.babelrc
1
.babelrc
@ -21,6 +21,7 @@
|
||||
"plugins": [
|
||||
"react-hot-loader/babel",
|
||||
"transform-runtime",
|
||||
"transform-class-properties",
|
||||
"transform-object-rest-spread",
|
||||
"transform-decorators-legacy",
|
||||
"syntax-dynamic-import",
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"plugins": [
|
||||
"react",
|
||||
"babel",
|
||||
"flowtype",
|
||||
"jest"
|
||||
],
|
||||
@ -38,8 +39,10 @@
|
||||
"__APP_VERSION__": true
|
||||
},
|
||||
"rules": {
|
||||
"babel/no-invalid-this": 1,
|
||||
"prettier/prettier": ["error", null, "@prettier"],
|
||||
"no-useless-escape": 2,
|
||||
"no-invalid-this": 0,
|
||||
"react/no-deprecated": 1,
|
||||
"react/jsx-no-target-blank": 1,
|
||||
"handle-callback-err": 2,
|
||||
|
@ -93,7 +93,7 @@
|
||||
"eslint-config-google": "0.10.0",
|
||||
"eslint-config-prettier": "3.1.0",
|
||||
"eslint-loader": "2.1.1",
|
||||
"eslint-plugin-babel": "5.2.0",
|
||||
"eslint-plugin-babel": "5.2.1",
|
||||
"eslint-plugin-flowtype": "2.50.1",
|
||||
"eslint-plugin-import": "2.14.0",
|
||||
"eslint-plugin-jest": "21.22.1",
|
||||
|
BIN
yarn.lock
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in New Issue
Block a user