Skip to content

Commit

Permalink
feat: add custom button property called buttonElement
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarwbr committed Oct 29, 2022
1 parent 720a8f0 commit fad87bd
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ module.exports = {
env: {
browser: true
},
extends: [
"google",
"prettier",
"plugin:react-hooks/recommended"
],
extends: ["google", "prettier", "plugin:react-hooks/recommended"],
parser: "babel-eslint",
plugins: ["react-hooks", "react"],
plugins: ["react-hooks"],
rules: {
"react-hooks/rules-of-hooks": "warn", // Checks rules of Hooks
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies,
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error"
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error"
}
};

0 comments on commit fad87bd

Please sign in to comment.