diff --git a/package.json b/package.json index 1beb700..fdde359 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@scdt-china/eslint-config-scc", - "version": "1.1.7", + "version": "1.1.8", "main": "index.js", "repository": "git@github.com:scdt-china/eslint-config-scc.git", "author": "Gao Sun", diff --git a/react.js b/react.js index 9dc843b..b89f528 100644 --- a/react.js +++ b/react.js @@ -32,5 +32,6 @@ module.exports = { "react/jsx-no-bind": ["error", { allowArrowFunctions: true }], "react/jsx-curly-brace-presence": "error", "react/destructuring-assignment": "error", + "react/no-deprecated": "error", }, };