From 9c3b7a7318a1a6abb5bee4be211748d71dbdcc9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A3=8A?= Date: Mon, 5 Nov 2018 16:45:08 +0800 Subject: [PATCH] update eslint --- packages/omi-element-ui/.eslintrc | 2 -- packages/omi-weui/.eslintrc | 2 -- packages/omi/config/eslint-config.js | 2 -- 3 files changed, 6 deletions(-) diff --git a/packages/omi-element-ui/.eslintrc b/packages/omi-element-ui/.eslintrc index cf136f16f..f7690086c 100644 --- a/packages/omi-element-ui/.eslintrc +++ b/packages/omi-element-ui/.eslintrc @@ -20,8 +20,6 @@ }, "rules": { "prettier/prettier": "error", - "react/jsx-uses-react": 2, - "react/jsx-uses-vars": 2, "no-cond-assign": 1, "no-empty": 0, "no-console": 1, diff --git a/packages/omi-weui/.eslintrc b/packages/omi-weui/.eslintrc index cf136f16f..f7690086c 100644 --- a/packages/omi-weui/.eslintrc +++ b/packages/omi-weui/.eslintrc @@ -20,8 +20,6 @@ }, "rules": { "prettier/prettier": "error", - "react/jsx-uses-react": 2, - "react/jsx-uses-vars": 2, "no-cond-assign": 1, "no-empty": 0, "no-console": 1, diff --git a/packages/omi/config/eslint-config.js b/packages/omi/config/eslint-config.js index 1a9e04a22..9c5adbccd 100644 --- a/packages/omi/config/eslint-config.js +++ b/packages/omi/config/eslint-config.js @@ -22,8 +22,6 @@ module.exports = { }, rules: { "prettier/prettier": "error", - "react/jsx-uses-react": 2, - "react/jsx-uses-vars": 2, "no-unused-vars": [1, { varsIgnorePattern: "^h$" }], "no-cond-assign": 1, "no-empty": 0,