From ff8be73d8665cc011c92b95e0012e38bf60ea50c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Tue, 1 Jun 2021 01:31:54 -0400 Subject: [PATCH] chore: migration for eslint-plugin-prettier --- .eslintrc.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 72b5a58..67a1e06 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,7 +17,6 @@ module.exports = { "plugin:react/recommended", "plugin:react-hooks/recommended", "prettier", - "prettier/@typescript-eslint", ], settings: { react: { @@ -36,6 +35,10 @@ module.exports = { "jsdoc", "prefer-arrow", ], + globals: { + React: true, + JSX: true, + }, rules: { "@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/array-type": [ @@ -92,7 +95,7 @@ module.exports = { }, }, ], - "@typescript-eslint/naming-convention": "error", + "@typescript-eslint/naming-convention": "off", "@typescript-eslint/no-empty-function": "error", "@typescript-eslint/no-empty-interface": "error", "@typescript-eslint/no-explicit-any": "off",