Summary:
babel-eslint was deprecated in December 2020, and upgrading only
parts of ESLint caused some failures: https://github.com/facebook/flipper/runs/4854335888?check_suite_focus=true

Pull Request resolved: https://github.com/facebook/flipper/pull/3318

Test Plan: `yarn lint` succeeds again, should also be visible here in the status.

Reviewed By: nikoant

Differential Revision: D33633674

Pulled By: passy

fbshipit-source-id: 5e3afbc7e0c5175f265db3fce3c971b155e7b114
This commit is contained in:
Pascal Hartig
2022-01-18 07:44:45 -08:00
committed by Facebook GitHub Bot
parent 629bdbea3d
commit 11c3a20190
3 changed files with 97 additions and 182 deletions

View File

@@ -13,7 +13,10 @@ const prettierConfig = require('./.prettierrc.json');
const pattern = /^\*\r?\n[\S\s]*Meta[\S\s]* \* @format\r?\n/;
module.exports = {
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
requireConfigFile: false,
},
root: true,
extends: ['fbjs', 'prettier'],
plugins: [