Skip to content

Commit c4cd854

Browse files
Vlad Esinljharb
authored andcommitted
Apply suggestions from code review
Co-Authored-By: Jordan Harband <[email protected]>
1 parent 7e23376 commit c4cd854

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rules/jsx-no-comment-textnodes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function checkText(node, context) {
3535

3636
module.exports = {
3737
meta: {
38-
type: 'suggestion',
38+
type: 'problem',
3939
docs: {
4040
description: 'Comments inside children section of tag should be placed inside braces',
4141
category: 'Possible Errors',

lib/rules/void-dom-elements-no-children.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const noChildrenInVoidEl = 'Void DOM element <{{element}} /> cannot receive chil
4949

5050
module.exports = {
5151
meta: {
52-
type: 'suggestion',
52+
type: 'problem',
5353
docs: {
5454
description: 'Prevent passing of children to void DOM elements (e.g. `<br />`).',
5555
category: 'Best Practices',

0 commit comments

Comments
 (0)