add react version to eslint-config

main
Mike Fix 6 years ago
parent 8bf3d91475
commit 72426ec54a

@ -21,5 +21,10 @@ module.exports = {
'react/jsx-uses-react': 'error', 'react/jsx-uses-react': 'error',
'react/jsx-uses-vars': 'error', 'react/jsx-uses-vars': 'error',
'import/no-unresolved': 2 'import/no-unresolved': 2
},
settings: {
react: {
version: '16.4'
}
} }
} }

@ -8,11 +8,11 @@
dependencies: dependencies:
"@babel/highlight" "7.0.0-beta.42" "@babel/highlight" "7.0.0-beta.42"
"@babel/code-frame@7.0.0-beta.44": "@babel/code-frame@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8"
dependencies: dependencies:
"@babel/highlight" "7.0.0-beta.44" "@babel/highlight" "^7.0.0"
"@babel/core@7.0.0-beta.42": "@babel/core@7.0.0-beta.42":
version "7.0.0-beta.42" version "7.0.0-beta.42"
@ -44,13 +44,13 @@
source-map "^0.5.0" source-map "^0.5.0"
trim-right "^1.0.1" trim-right "^1.0.1"
"@babel/generator@7.0.0-beta.44": "@babel/generator@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.44.tgz#c7e67b9b5284afcf69b309b50d7d37f3e5033d42" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0.tgz#1efd58bffa951dc846449e58ce3a1d7f02d393aa"
dependencies: dependencies:
"@babel/types" "7.0.0-beta.44" "@babel/types" "^7.0.0"
jsesc "^2.5.1" jsesc "^2.5.1"
lodash "^4.2.0" lodash "^4.17.10"
source-map "^0.5.0" source-map "^0.5.0"
trim-right "^1.0.1" trim-right "^1.0.1"
@ -105,13 +105,13 @@
"@babel/template" "7.0.0-beta.42" "@babel/template" "7.0.0-beta.42"
"@babel/types" "7.0.0-beta.42" "@babel/types" "7.0.0-beta.42"
"@babel/helper-function-name@7.0.0-beta.44": "@babel/helper-function-name@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz#e18552aaae2231100a6e485e03854bc3532d44dd" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0.tgz#a68cc8d04420ccc663dd258f9cc41b8261efa2d4"
dependencies: dependencies:
"@babel/helper-get-function-arity" "7.0.0-beta.44" "@babel/helper-get-function-arity" "^7.0.0"
"@babel/template" "7.0.0-beta.44" "@babel/template" "^7.0.0"
"@babel/types" "7.0.0-beta.44" "@babel/types" "^7.0.0"
"@babel/helper-get-function-arity@7.0.0-beta.42": "@babel/helper-get-function-arity@7.0.0-beta.42":
version "7.0.0-beta.42" version "7.0.0-beta.42"
@ -119,11 +119,11 @@
dependencies: dependencies:
"@babel/types" "7.0.0-beta.42" "@babel/types" "7.0.0-beta.42"
"@babel/helper-get-function-arity@7.0.0-beta.44": "@babel/helper-get-function-arity@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3"
dependencies: dependencies:
"@babel/types" "7.0.0-beta.44" "@babel/types" "^7.0.0"
"@babel/helper-hoist-variables@7.0.0-beta.42": "@babel/helper-hoist-variables@7.0.0-beta.42":
version "7.0.0-beta.42" version "7.0.0-beta.42"
@ -198,11 +198,11 @@
dependencies: dependencies:
"@babel/types" "7.0.0-beta.42" "@babel/types" "7.0.0-beta.42"
"@babel/helper-split-export-declaration@7.0.0-beta.44": "@babel/helper-split-export-declaration@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz#c0b351735e0fbcb3822c8ad8db4e583b05ebd9dc" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0.tgz#3aae285c0311c2ab095d997b8c9a94cad547d813"
dependencies: dependencies:
"@babel/types" "7.0.0-beta.44" "@babel/types" "^7.0.0"
"@babel/helper-wrap-function@7.0.0-beta.42": "@babel/helper-wrap-function@7.0.0-beta.42":
version "7.0.0-beta.42" version "7.0.0-beta.42"
@ -229,13 +229,17 @@
esutils "^2.0.2" esutils "^2.0.2"
js-tokens "^3.0.0" js-tokens "^3.0.0"
"@babel/highlight@7.0.0-beta.44": "@babel/highlight@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0.tgz#f710c38c8d458e6dd9a201afb637fcb781ce99e4"
dependencies: dependencies:
chalk "^2.0.0" chalk "^2.0.0"
esutils "^2.0.2" esutils "^2.0.2"
js-tokens "^3.0.0" js-tokens "^4.0.0"
"@babel/parser@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.0.0.tgz#697655183394facffb063437ddf52c0277698775"
"@babel/plugin-proposal-async-generator-functions@7.0.0-beta.42": "@babel/plugin-proposal-async-generator-functions@7.0.0-beta.42":
version "7.0.0-beta.42" version "7.0.0-beta.42"
@ -605,14 +609,13 @@
babylon "7.0.0-beta.42" babylon "7.0.0-beta.42"
lodash "^4.2.0" lodash "^4.2.0"
"@babel/template@7.0.0-beta.44": "@babel/template@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0.tgz#c2bc9870405959c89a9c814376a2ecb247838c80"
dependencies: dependencies:
"@babel/code-frame" "7.0.0-beta.44" "@babel/code-frame" "^7.0.0"
"@babel/types" "7.0.0-beta.44" "@babel/parser" "^7.0.0"
babylon "7.0.0-beta.44" "@babel/types" "^7.0.0"
lodash "^4.2.0"
"@babel/traverse@7.0.0-beta.42": "@babel/traverse@7.0.0-beta.42":
version "7.0.0-beta.42" version "7.0.0-beta.42"
@ -629,20 +632,19 @@
invariant "^2.2.0" invariant "^2.2.0"
lodash "^4.2.0" lodash "^4.2.0"
"@babel/traverse@7.0.0-beta.44": "@babel/traverse@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0.tgz#b1fe9b6567fdf3ab542cfad6f3b31f854d799a61"
dependencies: dependencies:
"@babel/code-frame" "7.0.0-beta.44" "@babel/code-frame" "^7.0.0"
"@babel/generator" "7.0.0-beta.44" "@babel/generator" "^7.0.0"
"@babel/helper-function-name" "7.0.0-beta.44" "@babel/helper-function-name" "^7.0.0"
"@babel/helper-split-export-declaration" "7.0.0-beta.44" "@babel/helper-split-export-declaration" "^7.0.0"
"@babel/types" "7.0.0-beta.44" "@babel/parser" "^7.0.0"
babylon "7.0.0-beta.44" "@babel/types" "^7.0.0"
debug "^3.1.0" debug "^3.1.0"
globals "^11.1.0" globals "^11.1.0"
invariant "^2.2.0" lodash "^4.17.10"
lodash "^4.2.0"
"@babel/types@7.0.0-beta.42": "@babel/types@7.0.0-beta.42":
version "7.0.0-beta.42" version "7.0.0-beta.42"
@ -652,12 +654,12 @@
lodash "^4.2.0" lodash "^4.2.0"
to-fast-properties "^2.0.0" to-fast-properties "^2.0.0"
"@babel/types@7.0.0-beta.44": "@babel/types@^7.0.0":
version "7.0.0-beta.44" version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0.tgz#6e191793d3c854d19c6749989e3bc55f0e962118"
dependencies: dependencies:
esutils "^2.0.2" esutils "^2.0.2"
lodash "^4.2.0" lodash "^4.17.10"
to-fast-properties "^2.0.0" to-fast-properties "^2.0.0"
"@cypress/listr-verbose-renderer@0.4.1": "@cypress/listr-verbose-renderer@0.4.1":
@ -1010,14 +1012,14 @@ babel-core@7.0.0-bridge.0:
version "7.0.0-bridge.0" version "7.0.0-bridge.0"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
babel-eslint@^8.2.3: babel-eslint@^9.0.0:
version "8.2.6" version "9.0.0"
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-8.2.6.tgz#6270d0c73205628067c0f7ae1693a9e797acefd9" resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-9.0.0.tgz#7d9445f81ed9f60aff38115f838970df9f2b6220"
dependencies: dependencies:
"@babel/code-frame" "7.0.0-beta.44" "@babel/code-frame" "^7.0.0"
"@babel/traverse" "7.0.0-beta.44" "@babel/parser" "^7.0.0"
"@babel/types" "7.0.0-beta.44" "@babel/traverse" "^7.0.0"
babylon "7.0.0-beta.44" "@babel/types" "^7.0.0"
eslint-scope "3.7.1" eslint-scope "3.7.1"
eslint-visitor-keys "^1.0.0" eslint-visitor-keys "^1.0.0"
@ -1062,10 +1064,6 @@ babylon@7.0.0-beta.42:
version "7.0.0-beta.42" version "7.0.0-beta.42"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.42.tgz#67cfabcd4f3ec82999d29031ccdea89d0ba99657" resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.42.tgz#67cfabcd4f3ec82999d29031ccdea89d0ba99657"
babylon@7.0.0-beta.44:
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d"
balanced-match@^1.0.0: balanced-match@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
@ -3426,7 +3424,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:
version "3.0.2" version "3.0.2"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
"js-tokens@^3.0.0 || ^4.0.0": "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"

Loading…
Cancel
Save