Skip to content

Commit 4d4eea9

Browse files
Vlad Esinljharb
Vlad Esin
andauthored
Apply suggestions from code review
Co-Authored-By: Jordan Harband <[email protected]>
1 parent d11d55d commit 4d4eea9

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
@@ -31,7 +31,7 @@ function checkText(node, context) {
3131

3232
module.exports = {
3333
meta: {
34-
type: 'suggestion',
34+
type: 'problem',
3535
docs: {
3636
description: 'Comments inside children section of tag should be placed inside braces',
3737
category: 'Possible Errors',

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function errorMessage(elementName) {
5050

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

0 commit comments

Comments
 (0)