Fix lint (#3318)
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:
committed by
Facebook GitHub Bot
parent
629bdbea3d
commit
11c3a20190
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user