From 6e70c80856cb0f8ab1bd00093a40302c2ddf2a17 Mon Sep 17 00:00:00 2001 From: David Mason Date: Tue, 12 Jul 2016 14:12:37 +1000 Subject: [PATCH] chore(deps): update eslint and related dependencies Several dependencies were updated and a few added to be compatible with the version of eslint that is now being used. Note that this introduced some new linting rules, but these have been disabled to keep the current branch focused on just the dependency changes. The linting rules will be re-enabled in a later commit. --- zanata-editor/src/.eslintrc | 51 +++++ zanata-editor/src/npm-shrinkwrap.json | 272 ++++++++++++++------------ zanata-editor/src/package.json | 10 +- 3 files changed, 204 insertions(+), 129 deletions(-) diff --git a/zanata-editor/src/.eslintrc b/zanata-editor/src/.eslintrc index f26ebbfcc7..a2fe2150b8 100644 --- a/zanata-editor/src/.eslintrc +++ b/zanata-editor/src/.eslintrc @@ -1,2 +1,53 @@ extends: zanata/react + +rules: + # Specify the type of quotes that are acceptable to use in JSX attributes. + # Standard enforces single-quotes, but we discussed this in our team and + # decided that it makes more sense to be consistent with other markup by using + # double-quotes for attributes. + jsx-quotes: + - 2 # Error to enforce compliance. + - prefer-double # Use double quotes unless the string contains a literal + # double-quote character. + + # FIXME TEMPORARILY DISABLED RULES SO THAT ALL THE LINTING CHANGES CAN BE DONE TOGETHER + # These rules should all be turned on and the linting errors fixed after the + # other changes have been reviewed. + + # FIXME enable rule and fix code style + react/jsx-indent: [0] + + # FIXME enable rule and fix code style + react/jsx-indent-props: [0] + + # FIXME enable rule and fix code style + react/jsx-space-before-closing: [0] + + # FIXME enable rule and fix code style + react/jsx-boolean-value: [0] + + # FIXME enable rule and fix code style + react/prop-types: [0] + + # FIXME enable rule and fix code style + no-return-assign: [0] + + # FIXME enable rule and fix code style + # for fix advice, see https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-bind.md + react/jsx-no-bind: [0] + + # FIXME enable rule and fix code style + react/self-closing-comp: [0] + + # FIXME enable rule and fix code style + no-useless-escape: [0] + + # FIXME enable rule and fix code style + no-duplicate-imports: [0] + + # FIXME enable rule and fix code style + react/no-unknown-property: [0] + + # FIXME enable rule and fix code style + react/jsx-no-undef: [0] diff --git a/zanata-editor/src/npm-shrinkwrap.json b/zanata-editor/src/npm-shrinkwrap.json index c61025cbfe..a876f5501e 100644 --- a/zanata-editor/src/npm-shrinkwrap.json +++ b/zanata-editor/src/npm-shrinkwrap.json @@ -49,6 +49,11 @@ } } }, + "acorn-jsx": { + "version": "3.0.1", + "from": "acorn-jsx@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz" + }, "airbnb-js-shims": { "version": "1.0.0", "from": "airbnb-js-shims@>=1.0.0 <2.0.0", @@ -849,6 +854,11 @@ } } }, + "bluebird": { + "version": "3.4.1", + "from": "bluebird@>=3.1.1 <4.0.0", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.1.tgz" + }, "body-parser": { "version": "1.15.2", "from": "body-parser@>=1.6.7 <2.0.0", @@ -926,6 +936,16 @@ "from": "bytes@2.4.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-2.4.0.tgz" }, + "caller-path": { + "version": "0.1.0", + "from": "caller-path@>=0.1.0 <0.2.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz" + }, + "callsites": { + "version": "0.2.0", + "from": "callsites@>=0.2.0 <0.3.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz" + }, "camelcase": { "version": "1.2.1", "from": "camelcase@>=1.0.2 <2.0.0", @@ -1040,9 +1060,9 @@ } }, "cli-width": { - "version": "1.1.1", - "from": "cli-width@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.1.tgz" + "version": "2.1.0", + "from": "cli-width@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.1.0.tgz" }, "cliui": { "version": "2.1.0", @@ -1709,19 +1729,14 @@ "resolved": "https://registry.npmjs.org/diff/-/diff-2.2.3.tgz" }, "doctrine": { - "version": "0.7.2", - "from": "doctrine@>=0.7.1 <0.8.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-0.7.2.tgz", + "version": "1.2.2", + "from": "doctrine@>=1.2.2 <2.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.2.2.tgz", "dependencies": { "esutils": { "version": "1.1.6", "from": "esutils@>=1.1.6 <2.0.0", "resolved": "https://registry.npmjs.org/esutils/-/esutils-1.1.6.tgz" - }, - "isarray": { - "version": "0.0.1", - "from": "isarray@0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" } } }, @@ -2032,36 +2047,30 @@ "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz" }, "eslint": { - "version": "1.10.3", - "from": "eslint@1.10.3", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-1.10.3.tgz", + "version": "2.13.1", + "from": "eslint@2.13.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-2.13.1.tgz", "dependencies": { - "espree": { - "version": "2.2.5", - "from": "espree@>=2.2.4 <3.0.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-2.2.5.tgz" + "glob": { + "version": "7.0.5", + "from": "glob@>=7.0.3 <8.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.5.tgz" }, - "js-yaml": { - "version": "3.4.5", - "from": "js-yaml@3.4.5", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.4.5.tgz", - "dependencies": { - "esprima": { - "version": "2.7.2", - "from": "esprima@>=2.6.0 <3.0.0" - } - } + "globals": { + "version": "9.9.0", + "from": "globals@>=9.2.0 <10.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.9.0.tgz" + }, + "lodash": { + "version": "4.13.1", + "from": "lodash@>=4.0.0 <5.0.0", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.13.1.tgz" }, "minimatch": { "version": "3.0.2", "from": "minimatch@>=3.0.0 <4.0.0", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.2.tgz" }, - "shelljs": { - "version": "0.5.3", - "from": "shelljs@>=0.5.3 <0.6.0", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.5.3.tgz" - }, "user-home": { "version": "2.0.0", "from": "user-home@>=2.0.0 <3.0.0", @@ -2070,13 +2079,24 @@ } }, "eslint-config-standard": { - "version": "4.4.0", - "from": "eslint-config-standard@4.4.0", - "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-4.4.0.tgz" + "version": "5.3.1", + "from": "eslint-config-standard@5.3.1", + "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-5.3.1.tgz" + }, + "eslint-config-standard-jsx": { + "version": "1.2.1", + "from": "eslint-config-standard-jsx@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-1.2.1.tgz" + }, + "eslint-config-standard-react": { + "version": "2.5.0", + "from": "eslint-config-standard-react@2.5.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-react/-/eslint-config-standard-react-2.5.0.tgz" }, "eslint-config-zanata": { - "version": "1.0.4", - "from": "eslint-config-zanata@>=1.0.4 <2.0.0" + "version": "2.0.1", + "from": "eslint-config-zanata@2.0.1", + "resolved": "https://registry.npmjs.org/eslint-config-zanata/-/eslint-config-zanata-2.0.1.tgz" }, "eslint-loader": { "version": "1.3.0", @@ -2088,16 +2108,26 @@ "from": "eslint-plugin-no-console-log@1.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-console-log/-/eslint-plugin-no-console-log-1.0.0.tgz" }, + "eslint-plugin-promise": { + "version": "1.3.2", + "from": "eslint-plugin-promise@1.3.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-1.3.2.tgz" + }, "eslint-plugin-react": { - "version": "3.16.1", - "from": "eslint-plugin-react@3.16.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-3.16.1.tgz" + "version": "4.2.3", + "from": "eslint-plugin-react@4.2.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-4.2.3.tgz" }, "eslint-plugin-standard": { "version": "1.3.2", "from": "eslint-plugin-standard@1.3.2", "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-1.3.2.tgz" }, + "espree": { + "version": "3.1.6", + "from": "espree@>=3.1.6 <4.0.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-3.1.6.tgz" + }, "esprima-fb": { "version": "15001.1001.0-dev-harmony-fb", "from": "esprima-fb@>=15001.1001.0-dev-harmony-fb <15001.1002.0", @@ -2120,11 +2150,6 @@ "from": "estraverse@>=4.1.1 <5.0.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz" }, - "estraverse-fb": { - "version": "1.3.1", - "from": "estraverse-fb@>=1.3.1 <2.0.0", - "resolved": "https://registry.npmjs.org/estraverse-fb/-/estraverse-fb-1.3.1.tgz" - }, "esutils": { "version": "2.0.2", "from": "esutils@>=2.0.2 <3.0.0", @@ -2495,9 +2520,9 @@ "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.2.0.tgz" }, "fast-levenshtein": { - "version": "1.0.7", - "from": "fast-levenshtein@>=1.0.6 <1.1.0", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-1.0.7.tgz" + "version": "1.1.3", + "from": "fast-levenshtein@>=1.1.0 <2.0.0", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-1.1.3.tgz" }, "fastparse": { "version": "1.1.1", @@ -3501,6 +3526,11 @@ "from": "ieee754@>=1.1.4 <2.0.0", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.6.tgz" }, + "ignore": { + "version": "3.1.3", + "from": "ignore@>=3.1.2 <4.0.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.1.3.tgz" + }, "ignorefs": { "version": "1.1.1", "from": "ignorefs@>=1.0.0 <2.0.0", @@ -3720,6 +3750,11 @@ } } }, + "imurmurhash": { + "version": "0.1.4", + "from": "imurmurhash@>=0.1.4 <0.2.0", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + }, "indent-string": { "version": "2.1.0", "from": "indent-string@>=2.1.0 <3.0.0", @@ -3758,9 +3793,15 @@ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz" }, "inquirer": { - "version": "0.11.4", - "from": "inquirer@>=0.11.0 <0.12.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.11.4.tgz" + "version": "0.12.0", + "from": "inquirer@>=0.12.0 <0.13.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz", + "dependencies": { + "lodash": { + "version": "4.13.1", + "from": "lodash@>=4.3.0 <5.0.0" + } + } }, "interfake": { "version": "1.19.0", @@ -4449,9 +4490,9 @@ "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz" }, "levn": { - "version": "0.2.5", - "from": "levn@>=0.2.5 <0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.2.5.tgz" + "version": "0.3.0", + "from": "levn@>=0.3.0 <0.4.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz" }, "liftoff": { "version": "2.2.4", @@ -4520,11 +4561,6 @@ "from": "lodash._basecopy@>=3.0.0 <4.0.0", "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz" }, - "lodash._basedifference": { - "version": "3.0.3", - "from": "lodash._basedifference@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash._basedifference/-/lodash._basedifference-3.0.3.tgz" - }, "lodash._baseeach": { "version": "3.0.4", "from": "lodash._baseeach@>=3.0.0 <4.0.0", @@ -4545,11 +4581,6 @@ "from": "lodash._baseget@>=3.0.0 <4.0.0", "resolved": "https://registry.npmjs.org/lodash._baseget/-/lodash._baseget-3.7.2.tgz" }, - "lodash._baseindexof": { - "version": "3.1.0", - "from": "lodash._baseindexof@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz" - }, "lodash._baseisequal": { "version": "3.0.7", "from": "lodash._baseisequal@>=3.0.0 <4.0.0", @@ -4575,21 +4606,11 @@ "from": "lodash._bindcallback@>=3.0.0 <4.0.0", "resolved": "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz" }, - "lodash._cacheindexof": { - "version": "3.0.2", - "from": "lodash._cacheindexof@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz" - }, "lodash._createassigner": { "version": "3.1.1", "from": "lodash._createassigner@>=3.0.0 <4.0.0", "resolved": "https://registry.npmjs.org/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz" }, - "lodash._createcache": { - "version": "3.1.2", - "from": "lodash._createcache@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash._createcache/-/lodash._createcache-3.1.2.tgz" - }, "lodash._createcompounder": { "version": "3.0.0", "from": "lodash._createcompounder@>=3.0.0 <4.0.0", @@ -4630,16 +4651,6 @@ "from": "lodash._objecttypes@>=2.4.1 <2.5.0", "resolved": "https://registry.npmjs.org/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz" }, - "lodash._pickbyarray": { - "version": "3.0.2", - "from": "lodash._pickbyarray@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash._pickbyarray/-/lodash._pickbyarray-3.0.2.tgz" - }, - "lodash._pickbycallback": { - "version": "3.0.0", - "from": "lodash._pickbycallback@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash._pickbycallback/-/lodash._pickbycallback-3.0.0.tgz" - }, "lodash._reescape": { "version": "3.0.0", "from": "lodash._reescape@>=3.0.0 <4.0.0", @@ -4770,11 +4781,6 @@ "from": "lodash.isobject@>=2.4.1 <2.5.0", "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-2.4.1.tgz" }, - "lodash.isplainobject": { - "version": "3.2.0", - "from": "lodash.isplainobject@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-3.2.0.tgz" - }, "lodash.istypedarray": { "version": "3.0.6", "from": "lodash.istypedarray@>=3.0.0 <4.0.0", @@ -4785,33 +4791,11 @@ "from": "lodash.keys@>=3.1.2 <4.0.0", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz" }, - "lodash.keysin": { - "version": "3.0.8", - "from": "lodash.keysin@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash.keysin/-/lodash.keysin-3.0.8.tgz" - }, "lodash.map": { "version": "3.1.4", "from": "lodash.map@>=3.0.0 <4.0.0", "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-3.1.4.tgz" }, - "lodash.merge": { - "version": "3.3.2", - "from": "lodash.merge@>=3.3.2 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-3.3.2.tgz" - }, - "lodash.omit": { - "version": "3.1.0", - "from": "lodash.omit@>=3.1.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-3.1.0.tgz", - "dependencies": { - "lodash._baseflatten": { - "version": "3.1.4", - "from": "lodash._baseflatten@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash._baseflatten/-/lodash._baseflatten-3.1.4.tgz" - } - } - }, "lodash.pairs": { "version": "3.0.1", "from": "lodash.pairs@>=3.0.0 <4.0.0", @@ -4859,11 +4843,6 @@ "from": "lodash.templatesettings@>=3.0.0 <4.0.0", "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz" }, - "lodash.toplainobject": { - "version": "3.0.0", - "from": "lodash.toplainobject@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash.toplainobject/-/lodash.toplainobject-3.0.0.tgz" - }, "lodash.tostring": { "version": "4.1.3", "from": "lodash.tostring@>=4.0.0 <5.0.0", @@ -5281,9 +5260,16 @@ "resolved": "https://registry.npmjs.org/optional/-/optional-0.1.3.tgz" }, "optionator": { - "version": "0.6.0", - "from": "optionator@>=0.6.0 <0.7.0", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.6.0.tgz" + "version": "0.8.1", + "from": "optionator@>=0.8.1 <0.9.0", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.1.tgz", + "dependencies": { + "wordwrap": { + "version": "1.0.0", + "from": "wordwrap@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" + } + } }, "optipng-bin": { "version": "3.1.2", @@ -5464,6 +5450,11 @@ "from": "pkginfo@>=0.3.0 <0.4.0", "resolved": "https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.1.tgz" }, + "pluralize": { + "version": "1.2.1", + "from": "pluralize@>=1.2.1 <2.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz" + }, "pngquant-bin": { "version": "3.1.0", "from": "pngquant-bin@>=3.0.0 <4.0.0", @@ -6047,6 +6038,11 @@ "from": "require-main-filename@>=1.0.1 <2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz" }, + "require-uncached": { + "version": "1.0.2", + "from": "require-uncached@>=1.0.2 <2.0.0", + "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.2.tgz" + }, "requirefresh": { "version": "1.1.2", "from": "requirefresh@>=1.1.2 <1.2.0", @@ -6067,6 +6063,11 @@ "from": "resolve@>=1.1.6 <2.0.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz" }, + "resolve-from": { + "version": "1.0.1", + "from": "resolve-from@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz" + }, "resolve-url": { "version": "0.2.1", "from": "resolve-url@>=0.2.1 <0.3.0", @@ -6349,6 +6350,11 @@ "from": "slash@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz" }, + "slice-ansi": { + "version": "0.0.4", + "from": "slice-ansi@0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz" + }, "sntp": { "version": "1.0.9", "from": "sntp@>=1.0.0 <2.0.0", @@ -6743,6 +6749,17 @@ "from": "symbol-tree@>=3.1.0 <4.0.0", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.1.4.tgz" }, + "table": { + "version": "3.7.8", + "from": "table@>=3.7.8 <4.0.0", + "resolved": "https://registry.npmjs.org/table/-/table-3.7.8.tgz", + "dependencies": { + "lodash": { + "version": "4.13.1", + "from": "lodash@>=4.0.0 <5.0.0" + } + } + }, "tap-parser": { "version": "0.4.3", "from": "tap-parser@>=0.4.0 <0.5.0", @@ -7004,6 +7021,11 @@ "from": "tunnel-agent@>=0.4.1 <0.5.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz" }, + "tv4": { + "version": "1.2.7", + "from": "tv4@>=1.2.7 <2.0.0", + "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.2.7.tgz" + }, "tweetnacl": { "version": "0.13.3", "from": "tweetnacl@>=0.13.0 <0.14.0", @@ -7410,11 +7432,6 @@ "from": "write@>=0.2.1 <0.3.0", "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz" }, - "xml-escape": { - "version": "1.0.0", - "from": "xml-escape@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/xml-escape/-/xml-escape-1.0.0.tgz" - }, "xml-name-validator": { "version": "2.0.1", "from": "xml-name-validator@>=2.0.1 <3.0.0", @@ -7430,6 +7447,11 @@ "from": "xpath@>=0.0.23 <0.0.24", "resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.23.tgz" }, + "xregexp": { + "version": "3.1.1", + "from": "xregexp@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-3.1.1.tgz" + }, "xtend": { "version": "4.0.1", "from": "xtend@>=4.0.0 <5.0.0", diff --git a/zanata-editor/src/package.json b/zanata-editor/src/package.json index 15dd3be7c8..af1f319dac 100644 --- a/zanata-editor/src/package.json +++ b/zanata-editor/src/package.json @@ -43,12 +43,14 @@ "classnames": "2.2.5", "css-loader": "0.23.1", "csso-loader": "0.0.6", - "eslint": "1.10.3", - "eslint-config-standard": "4.4.0", - "eslint-config-zanata": "^1.0.4", + "eslint": "2.13.1", + "eslint-config-standard": "5.3.1", + "eslint-config-standard-react": "2.5.0", + "eslint-config-zanata": "2.0.1", "eslint-loader": "1.3.0", "eslint-plugin-no-console-log": "1.0.0", - "eslint-plugin-react": "3.16.1", + "eslint-plugin-promise": "1.3.2", + "eslint-plugin-react": "4.2.3", "eslint-plugin-standard": "1.3.2", "extract-text-webpack-plugin": "1.0.1", "fake-zanata-server": "3.0.5",