Skip to content

Commit c32b0aa

Browse files
committed
eslint-editorconfig
1 parent aa3d0d8 commit c32b0aa

File tree

3 files changed

+2509
-192
lines changed

3 files changed

+2509
-192
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
insert_final_newline = true

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@
239239
"react/prop-types": 2, // Prevent missing props validation in a React component definition
240240
"react/react-in-jsx-scope": 2, // Prevent missing React when using JSX
241241
"react/self-closing-comp": 2, // Prevent extra closing tags for components without children
242-
"react/wrap-multilines": 2 // Prevent missing parentheses around multilines JSX
242+
// "react/wrap-multilines": 2, // Prevent missing parentheses around multilines JSX
243+
"react/jsx-wrap-multilines": 2 // Replaces "react/wrap-multilines": Prevent missing parentheses around multilines JSX
243244
}
244245
}

0 commit comments

Comments
 (0)