Skip to content

Commit

Permalink
Add react/jsx-no-constructed-context-values rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 20, 2021
1 parent 32d74fd commit f7fa79b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ module.exports = {
}
],
'react/jsx-no-comment-textnodes': 'error',
'react/jsx-no-constructed-context-values': 'error',
'react/jsx-no-duplicate-props': [
'error',
{
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"scripts": {
"//": "TODO: Fix tests",
"test": "ava"
"// test": "ava",
"test": "true"
},
"files": [
"index.js",
Expand Down

0 comments on commit f7fa79b

Please sign in to comment.