1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-24 21:15:51 +01:00

chore: enable class properties for react components (#1067)

This commit is contained in:
Juan Picado @jotadeveloper 2018-10-09 14:24:17 +02:00 committed by GitHub
parent e3772227a6
commit b19df01b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 1 deletions

@ -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

Binary file not shown.