Incorporate feedback
This commit is contained in:
parent
74e2c2cd78
commit
ca88cf1060
@ -5,9 +5,19 @@ module.exports = {
|
|||||||
extends: "eslint:recommended",
|
extends: "eslint:recommended",
|
||||||
plugins: ["flowtype"],
|
plugins: ["flowtype"],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 2019,
|
ecmaVersion: 2020,
|
||||||
sourceType: "module",
|
sourceType: "module",
|
||||||
},
|
},
|
||||||
|
globals: {
|
||||||
|
// Flow
|
||||||
|
Iterator: true,
|
||||||
|
$Keys: true,
|
||||||
|
},
|
||||||
|
env: {
|
||||||
|
node: true,
|
||||||
|
es2020: true,
|
||||||
|
browser: true,
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
camelcase: "off",
|
camelcase: "off",
|
||||||
"consistent-return": "off",
|
"consistent-return": "off",
|
||||||
@ -36,14 +46,4 @@ module.exports = {
|
|||||||
"flowtype/define-flow-type": "warn",
|
"flowtype/define-flow-type": "warn",
|
||||||
"flowtype/use-flow-type": "warn",
|
"flowtype/use-flow-type": "warn",
|
||||||
},
|
},
|
||||||
globals: {
|
|
||||||
// Flow
|
|
||||||
Iterator: true,
|
|
||||||
$Keys: true,
|
|
||||||
},
|
|
||||||
env: {
|
|
||||||
node: true,
|
|
||||||
es6: true,
|
|
||||||
browser: true,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@babel/eslint-config-internal",
|
"name": "@babel/eslint-config-internal",
|
||||||
"version": "7.7.0",
|
"version": "0.0.0",
|
||||||
"description": "The Babel Team's ESLint configuration. Since it's internal, it might not respect semver.",
|
"description": "The Babel Team's ESLint configuration. Since it's internal, it might not respect semver.",
|
||||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||||
"homepage": "https://babeljs.io/",
|
"homepage": "https://babeljs.io/",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user