Skip to content

Commit

Permalink
feat: add react/display-name eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed Sep 22, 2020
1 parent e9fca5d commit 4bfc800
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
},
],
'prefer-template': 'error',
'react/display-name': 'error',
'react/jsx-boolean-value': 'error',
'react/jsx-no-bind': [
'error',
Expand Down
10 changes: 10 additions & 0 deletions clayui.com/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
* SPDX-License-Identifier: BSD-3-Clause
*/

module.exports = {
rules: {
'react/display-name': 'off',
},
};

0 comments on commit 4bfc800

Please sign in to comment.