Merge pull request #10744 from kaicataldo/@babel/eslint-config-internal

Rename babel-eslint-config-internal -> @babel/eslint-config-internal
This commit is contained in:
Kai Cataldo 2019-11-22 17:11:53 -05:00 committed by GitHub
commit 2dfc06e83b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 166 additions and 170 deletions

View File

@ -1,4 +1,4 @@
## eslint-config-babel
## @babel/eslint-config-internal
---
ESLint config for the Babel codebase (originally taken from `eslint-config-kittens`)

View File

@ -1,11 +1,23 @@
"use strict";
module.exports = {
parser: "babel-eslint",
extends: "eslint:recommended",
plugins: ["flowtype"],
parserOptions: {
ecmaVersion: 2017,
ecmaVersion: 2020,
sourceType: "module",
},
globals: {
// Flow
Iterator: true,
$Keys: true,
},
env: {
node: true,
es2020: true,
browser: true,
},
rules: {
camelcase: "off",
"consistent-return": "off",
@ -34,14 +46,4 @@ module.exports = {
"flowtype/define-flow-type": "warn",
"flowtype/use-flow-type": "warn",
},
globals: {
// Flow
Iterator: true,
$Keys: true,
},
env: {
node: true,
es6: true,
browser: true,
},
};

View File

@ -1,21 +1,15 @@
{
"name": "eslint-config-babel",
"version": "9.0.0",
"description": "ESLint config for babel",
"name": "@babel/eslint-config-internal",
"version": "0.0.0",
"description": "The Babel Team's ESLint configuration. Since it's internal, it might not respect semver.",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"homepage": "https://babeljs.io/",
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/babel/eslint-config-babel"
},
"main": "index.js",
"repository": "https://github.com/babel/babel/tree/master/eslint/babel-eslint-config-internal",
"main": "lib/index.js",
"peerDependencies": {
"babel-eslint": "^10.0.0 || ^11.0.0-0",
"eslint-plugin-flowtype": "^3.0.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}

File diff suppressed because it is too large Load Diff