Rename babel-eslint-config-internal -> @babel/eslint-config-internal

This commit is contained in:
Kai Cataldo 2019-11-20 22:33:56 -05:00
parent 74fb914fe3
commit 25169901de
3 changed files with 9 additions and 13 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`) ESLint config for the Babel codebase (originally taken from `eslint-config-kittens`)

View File

@ -1,9 +1,11 @@
"use strict";
module.exports = { module.exports = {
parser: "babel-eslint", parser: "babel-eslint",
extends: "eslint:recommended", extends: "eslint:recommended",
plugins: ["flowtype"], plugins: ["flowtype"],
parserOptions: { parserOptions: {
ecmaVersion: 2017, ecmaVersion: 2019,
sourceType: "module", sourceType: "module",
}, },
rules: { rules: {

View File

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