Use @babel/eslint-parser/experimental-worker for our own repo (#13643)
This commit is contained in:
parent
da1d166ea6
commit
ab79f08b63
@ -1,7 +1,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
parser: "@babel/eslint-parser",
|
parser: "@babel/eslint-parser/experimental-worker",
|
||||||
extends: "eslint:recommended",
|
extends: "eslint:recommended",
|
||||||
plugins: ["flowtype"],
|
plugins: ["flowtype"],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@babel/eslint-parser": "^7.10.4",
|
"@babel/eslint-parser": "^7.15.0",
|
||||||
"eslint-plugin-flowtype": "^4.6.0"
|
"eslint-plugin-flowtype": "^4.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -277,7 +277,7 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@babel/eslint-config-internal@workspace:eslint/babel-eslint-config-internal"
|
resolution: "@babel/eslint-config-internal@workspace:eslint/babel-eslint-config-internal"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@babel/eslint-parser": ^7.10.4
|
"@babel/eslint-parser": ^7.15.0
|
||||||
eslint-plugin-flowtype: ^4.6.0
|
eslint-plugin-flowtype: ^4.6.0
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user