Skip to content

Commit

Permalink
chore(deps): babel-eslint ➡ @babel/eslint-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Apr 1, 2021
1 parent e657481 commit 686a1a8
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 23 deletions.
6 changes: 3 additions & 3 deletions npm/eslint-plugin-dev/README.md
Expand Up @@ -30,11 +30,11 @@ eslint-plugin-mocha

# if you have coffeescript files
@fellow/eslint-plugin-coffee
babel-eslint
@babel/eslint-parser

# if you have react/jsx files
eslint-plugin-react
babel-eslint
@babel/eslint-parser
```

2) add the following to your root level `.eslintrc.json`:
Expand Down Expand Up @@ -112,7 +112,7 @@ React and JSX-specific configuration and rules.

**requires you to install the following `devDependencies`**:
```sh
babel-eslint
@babel/eslint-parser
eslint-plugin-react
```

Expand Down
4 changes: 2 additions & 2 deletions npm/eslint-plugin-dev/lib/index.js
Expand Up @@ -239,7 +239,7 @@ module.exports = {
files: '*.coffee',
parser: '@fellow/eslint-plugin-coffee',
parserOptions: {
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
sourceType: 'module',
ecmaVersion: 2018,
},
Expand Down Expand Up @@ -322,7 +322,7 @@ module.exports = {
env: {
browser: true,
},
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
Expand Down
4 changes: 2 additions & 2 deletions npm/eslint-plugin-dev/package.json
Expand Up @@ -27,9 +27,9 @@
"sinon-chai": "^3.3.0"
},
"peerDependencies": {
"@babel/eslint-parser": "^7.2.3",
"@typescript-eslint/eslint-plugin": ">= 1.11.0",
"@typescript-eslint/parser": ">= 1.11.0",
"babel-eslint": "^7.2.3",
"eslint": ">= 3.2.1",
"eslint-plugin-json-format": ">= 2.0.0",
"eslint-plugin-mocha": "^4.11.0",
Expand All @@ -54,4 +54,4 @@
"eslint",
"eslintplugin"
]
}
}
6 changes: 3 additions & 3 deletions npm/vue/examples/cli/package.json
Expand Up @@ -17,7 +17,7 @@
"node": true
},
"parserOptions": {
"parser": "babel-eslint"
"parser": "@babel/eslint-parser"
},
"extends": [
"plugin:vue/essential",
Expand All @@ -31,12 +31,12 @@
"vue": "^2.6.11"
},
"devDependencies": {
"@babel/eslint-parser": "^7.13.14",
"@vue/cli-plugin-babel": "~4.4.0",
"@vue/cli-plugin-eslint": "~4.4.0",
"@vue/cli-service": "~4.4.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.22.0",
"eslint-plugin-vue": "^6.2.2",
"vue-template-compiler": "^2.6.11"
}
}
}
4 changes: 2 additions & 2 deletions npm/webpack-batteries-included-preprocessor/package.json
Expand Up @@ -24,13 +24,13 @@
"webpack": "^4.44.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.13.14",
"@cypress/eslint-plugin-dev": "0.0.0-development",
"@cypress/webpack-preprocessor": "0.0.0-development",
"@types/mocha": "^8.0.2",
"@types/webpack": "^4.41.21",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"eslint": "^7.22.0",
"eslint-plugin-json-format": "^2.0.1",
Expand Down Expand Up @@ -66,4 +66,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -71,6 +71,7 @@
}
},
"devDependencies": {
"@babel/eslint-parser": "7.13.14",
"@cypress/bumpercar": "2.0.12",
"@cypress/commit-message-install": "3.1.3",
"@cypress/env-or-json-file": "2.0.0",
Expand Down Expand Up @@ -107,7 +108,6 @@
"arg": "4.1.2",
"ascii-table": "0.0.9",
"aws-sdk": "2.447.0",
"babel-eslint": "10.1.0",
"bluebird": "3.5.3",
"bluebird-retry": "0.11.0",
"chai": "4.2.0",
Expand Down Expand Up @@ -255,4 +255,4 @@
"**/pretty-format": "26.4.0",
"**/socket.io-parser": "4.0.2"
}
}
}
65 changes: 56 additions & 9 deletions yarn.lock
Expand Up @@ -229,7 +229,16 @@
semver "^6.3.0"
source-map "^0.5.0"

"@babel/generator@^7.13.0", "@babel/generator@^7.4.0", "@babel/generator@^7.4.4", "@babel/generator@^7.6.0", "@babel/generator@^7.7.7", "@babel/generator@^7.9.0":
"@babel/eslint-parser@7.13.14", "@babel/eslint-parser@^7.13.14":
version "7.13.14"
resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.13.14.tgz#f80fd23bdd839537221914cb5d17720a5ea6ba3a"
integrity sha512-I0HweR36D73Ibn/FfrRDMKlMqJHFwidIUgYdMpH+aXYuQC+waq59YaJ6t9e9N36axJ82v1jR041wwqDrDXEwRA==
dependencies:
eslint-scope "^5.1.0"
eslint-visitor-keys "^1.3.0"
semver "^6.3.0"

"@babel/generator@^7.13.0", "@babel/generator@^7.13.9", "@babel/generator@^7.4.0", "@babel/generator@^7.4.4", "@babel/generator@^7.6.0", "@babel/generator@^7.7.7", "@babel/generator@^7.9.0":
version "7.13.9"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.13.9.tgz#3a7aa96f9efb8e2be42d38d80e2ceb4c64d8de39"
integrity sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==
Expand Down Expand Up @@ -345,13 +354,27 @@
dependencies:
"@babel/types" "^7.13.0"

"@babel/helper-member-expression-to-functions@^7.13.12":
version "7.13.12"
resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz#dfe368f26d426a07299d8d6513821768216e6d72"
integrity sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==
dependencies:
"@babel/types" "^7.13.12"

"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.8.3":
version "7.12.13"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.13.tgz#ec67e4404f41750463e455cc3203f6a32e93fcb0"
integrity sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g==
dependencies:
"@babel/types" "^7.12.13"

"@babel/helper-module-imports@^7.12.1":
version "7.13.12"
resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz#c6a369a6f3621cb25da014078684da9196b61977"
integrity sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==
dependencies:
"@babel/types" "^7.13.12"

"@babel/helper-module-transforms@^7.10.4", "@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.9.0":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.12.1.tgz#7954fec71f5b32c48e4b303b437c34453fd7247c"
Expand Down Expand Up @@ -394,7 +417,7 @@
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz#806526ce125aed03373bc416a828321e3a6a33af"
integrity sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==

"@babel/helper-remap-async-to-generator@^7.13.0":
"@babel/helper-remap-async-to-generator@^7.12.1", "@babel/helper-remap-async-to-generator@^7.13.0":
version "7.13.0"
resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.13.0.tgz#376a760d9f7b4b2077a9dd05aa9c3927cadb2209"
integrity sha512-pUQpFBE9JvC9lrQbpX0TmeNIy5s7GnZjna2lhhcHC7DzgBs6fWn722Y5cfwgrtrqc7NAJwMvOa0mKhq6XaE4jg==
Expand All @@ -403,6 +426,16 @@
"@babel/helper-wrap-function" "^7.13.0"
"@babel/types" "^7.13.0"

"@babel/helper-replace-supers@^7.12.1":
version "7.13.12"
resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz#6442f4c1ad912502481a564a7386de0c77ff3804"
integrity sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==
dependencies:
"@babel/helper-member-expression-to-functions" "^7.13.12"
"@babel/helper-optimise-call-expression" "^7.12.13"
"@babel/traverse" "^7.13.0"
"@babel/types" "^7.13.12"

"@babel/helper-replace-supers@^7.12.13", "@babel/helper-replace-supers@^7.13.0":
version "7.13.0"
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.13.0.tgz#6034b7b51943094cb41627848cb219cb02be1d24"
Expand Down Expand Up @@ -434,7 +467,7 @@
dependencies:
"@babel/types" "^7.12.1"

"@babel/helper-split-export-declaration@^7.12.13":
"@babel/helper-split-export-declaration@^7.11.0", "@babel/helper-split-export-declaration@^7.12.13":
version "7.12.13"
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz#e9430be00baf3e88b0e13e6f9d4eaf2136372b05"
integrity sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==
Expand Down Expand Up @@ -494,7 +527,7 @@
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.11.tgz#f93ebfc99d21c1772afbbaa153f47e7ce2f50b88"
integrity sha512-PhuoqeHoO9fc4ffMEVk4qb/w/s2iOSWohvbHxLtxui0eBg3Lg5gN1U8wp1V1u61hOWkPQJJyJzGH6Y+grwkq8Q==

"@babel/parser@^7.13.9":
"@babel/parser@^7.13.13", "@babel/parser@^7.13.9":
version "7.13.13"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.13.tgz#42f03862f4aed50461e543270916b47dd501f0df"
integrity sha512-OhsyMrqygfk5v8HmWwOzlYjJrtLaFhF34MrfG/Z73DgYCI6ojNUTUp2TYbtnjo8PegeJp12eamsNettCQjKjVw==
Expand Down Expand Up @@ -1836,7 +1869,7 @@
dependencies:
regenerator-runtime "^0.13.4"

"@babel/template@^7.0.0", "@babel/template@^7.12.13", "@babel/template@^7.4.0", "@babel/template@^7.4.4", "@babel/template@^7.5.4", "@babel/template@^7.6.0", "@babel/template@^7.7.4", "@babel/template@^7.8.6":
"@babel/template@^7.0.0", "@babel/template@^7.10.4", "@babel/template@^7.12.13", "@babel/template@^7.4.0", "@babel/template@^7.4.4", "@babel/template@^7.5.4", "@babel/template@^7.6.0", "@babel/template@^7.7.4", "@babel/template@^7.8.6":
version "7.12.13"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.13.tgz#530265be8a2589dbb37523844c5bcb55947fb327"
integrity sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==
Expand All @@ -1860,6 +1893,20 @@
globals "^11.1.0"
lodash "^4.17.19"

"@babel/traverse@^7.12.1":
version "7.13.13"
resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.13.tgz#39aa9c21aab69f74d948a486dd28a2dbdbf5114d"
integrity sha512-CblEcwmXKR6eP43oQGG++0QMTtCjAsa3frUuzHoiIJWpaIIi8dwMyEFUJoXRLxagGqCK+jALRwIO+o3R9p/uUg==
dependencies:
"@babel/code-frame" "^7.12.13"
"@babel/generator" "^7.13.9"
"@babel/helper-function-name" "^7.12.13"
"@babel/helper-split-export-declaration" "^7.12.13"
"@babel/parser" "^7.13.13"
"@babel/types" "^7.13.13"
debug "^4.1.0"
globals "^11.1.0"

"@babel/types@7.11.5":
version "7.11.5"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.5.tgz#d9de577d01252d77c6800cee039ee64faf75662d"
Expand Down Expand Up @@ -1887,7 +1934,7 @@
lodash "^4.17.19"
to-fast-properties "^2.0.0"

"@babel/types@^7.12.10", "@babel/types@^7.13.0":
"@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.13":
version "7.13.14"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d"
integrity sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ==
Expand Down Expand Up @@ -8578,7 +8625,7 @@ babel-eslint@10.0.3:
eslint-visitor-keys "^1.0.0"
resolve "^1.12.0"

babel-eslint@10.1.0, babel-eslint@^10.1.0:
babel-eslint@10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
integrity sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==
Expand Down Expand Up @@ -15415,9 +15462,9 @@ eslint-scope@^4.0.0, eslint-scope@^4.0.3:
esrecurse "^4.1.0"
estraverse "^4.1.1"

eslint-scope@^5.0.0, eslint-scope@^5.1.1:
eslint-scope@^5.0.0, eslint-scope@^5.1.0, eslint-scope@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
dependencies:
esrecurse "^4.3.0"
Expand Down

0 comments on commit 686a1a8

Please sign in to comment.