Skip to content

Commit

Permalink
Update deps and babel-eslint-* package.jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Jan 30, 2020
1 parent 99f7144 commit 3f32c4c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.js
Expand Up @@ -3,8 +3,7 @@ const path = require("path");
module.exports = {
root: true,
plugins: ["prettier", "@babel/development", "import"],
// replace it by `@babel/internal` when `@babel/eslint-config-internal` is published
extends: path.resolve(__dirname, "eslint/babel-eslint-config-internal"),
extends: "@babel/internal",
rules: {
"prettier/prettier": "error",
// TODO: remove after babel-eslint-config-internal is fully integrated into this repository.
Expand Down
2 changes: 1 addition & 1 deletion eslint/babel-eslint-config-internal/index.js
@@ -1,7 +1,7 @@
"use strict";

module.exports = {
parser: "babel-eslint",
parser: "@babel/eslint-parser",
extends: "eslint:recommended",
plugins: ["flowtype"],
parserOptions: {
Expand Down
2 changes: 1 addition & 1 deletion eslint/babel-eslint-config-internal/package.json
Expand Up @@ -9,7 +9,7 @@
"repository": "https://github.com/babel/babel/tree/master/eslint/babel-eslint-config-internal",
"main": "index.js",
"peerDependencies": {
"babel-eslint": "^10.0.0 || ^11.0.0-0",
"@babel/eslint-parser": "0.0.0",
"eslint-plugin-flowtype": "^3.0.0"
}
}
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -12,7 +12,9 @@
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/eslint-plugin-development": "^1.0.1",
"@babel/eslint-config-internal": "./eslint/babel-eslint-config-internal",
"@babel/eslint-parser": "./eslint/babel-eslint-parser",
"@babel/eslint-plugin-development": "./eslint/babel-eslint-plugin-development",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
Expand All @@ -29,7 +31,6 @@
"@babel/runtime": "^7.7.2",
"@rollup/plugin-alias": "^2.2.0",
"@rollup/plugin-json": "^4.0.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^24.9.0",
"babel-plugin-transform-charcodes": "^0.2.0",
"browserify": "^16.2.3",
Expand Down
25 changes: 12 additions & 13 deletions yarn.lock
Expand Up @@ -45,10 +45,18 @@
semver "^5.4.1"
source-map "^0.5.0"

"@babel/eslint-plugin-development@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@babel/eslint-plugin-development/-/eslint-plugin-development-1.0.1.tgz#1f5206ae95795db09b65e7dbc2b158d66497a44c"
integrity sha512-ioEhN8HgKr4Yx8ef+XryNpKN4FimSFceb0qVVxvoUzpFn3xyq17MlY5AquEqtXObE7Nu7WKq7QL9INzjCrugyw==
"@babel/eslint-config-internal@./eslint/babel-eslint-config-internal":
version "0.0.0"

"@babel/eslint-parser@./eslint/babel-eslint-parser":
version "0.0.0"
dependencies:
eslint-scope "5.0.0"
eslint-visitor-keys "^1.1.0"
semver "^6.3.0"

"@babel/eslint-plugin-development@./eslint/babel-eslint-plugin-development":
version "0.0.0"

"@babel/generator@^7.4.0", "@babel/generator@^7.7.4":
version "7.7.4"
Expand Down Expand Up @@ -2456,15 +2464,6 @@ aws4@^1.8.0:
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.0.tgz#24390e6ad61386b0a747265754d2a17219de862c"
integrity sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A==

babel-eslint@^11.0.0-beta.2:
version "11.0.0-beta.2"
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-11.0.0-beta.2.tgz#de1f06795aa0d8cedcf6ac943e63056f5b4a7048"
integrity sha512-D2tunrOu04XloEdU2XVUminUu25FILlGruZmffqH5OSnLDhCheKNvUoM1ihrexdUvhizlix8bjqRnsss4V/UIQ==
dependencies:
eslint-scope "5.0.0"
eslint-visitor-keys "^1.1.0"
semver "^6.3.0"

babel-jest@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54"
Expand Down

0 comments on commit 3f32c4c

Please sign in to comment.