Skip to content

Commit ed840ac

Browse files
Merge pull request #18 from brianpattison/FAF-25-eslint-react-button-has-type
FAF-25: Add ESLint rule for 'react/button-has-type'
2 parents 6a9d8c1 + 4040a60 commit ed840ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ module.exports = {
103103
"error",
104104
"as-needed"
105105
],
106+
"react/button-has-type": 1,
106107
"react/jsx-curly-brace-presence": [1, { "props": "never", "children": "ignore" }],
107108
"react/jsx-no-literals": 1,
108109
"react/jsx-sort-props": [1, { "ignoreCase": true }],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-simplymadeapps",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "ESLint config for Simply Made Apps",
55
"homepage": "https://github.com/simplymadeapps/eslint-config-simplymadeapps",
66
"license": "MIT",

0 commit comments

Comments
 (0)