From 81dcfb2e3ae9ccdaddf7599adecc8c38fa47d64d Mon Sep 17 00:00:00 2001 From: jiangchu Date: Wed, 20 Sep 2023 15:43:54 +0800 Subject: [PATCH] :bug: feat: eslint config --- .prettierrc.js | 2 +- src/BasicEdge/index.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.prettierrc.js b/.prettierrc.js index b70ecec..7657b05 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,7 +1,7 @@ module.exports = { pluginSearchDirs: false, plugins: [ - require.resolve('prettier-plugin-organize-imports'), + // require.resolve('prettier-plugin-organize-imports'), require.resolve('prettier-plugin-packagejson'), ], printWidth: 100, diff --git a/src/BasicEdge/index.tsx b/src/BasicEdge/index.tsx index 8496a77..4d059d3 100644 --- a/src/BasicEdge/index.tsx +++ b/src/BasicEdge/index.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import { BaseEdge, EdgeProps, getSmoothStepPath } from 'reactflow'; export default function RadiusEdge({