From 1fd47c9d032e2ed03320aca7e21767c7cc6de0a3 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Mon, 15 Jun 2020 14:33:52 +0300 Subject: [PATCH] Simplify ESLint config (#2656) --- .eslintrc.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 67e460918b..b5a3384853 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -11,6 +11,11 @@ plugins: - node - istanbul - import +settings: + flowtype: + onlyFilesWithFlowAnnotation: true + node: + tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts'] rules: ############################################################################## @@ -493,11 +498,7 @@ overrides: - '@typescript-eslint' extends: - plugin:import/typescript - settings: - node: - tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts'] rules: - flowtype/require-valid-file-annotation: off flowtype/no-types-missing-file-annotation: off ##########################################################################