Skip to content

Commit

Permalink
fix: some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nnmax committed Mar 20, 2024
1 parent c1b9d63 commit dd85459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-react/react-a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = {
labelComponents: [],
labelAttributes: [],
controlComponents: [],
assert: 'both',
assert: 'either',
depth: 25,
},
],
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-react/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ const eslintConfig = {
'react/no-typos': 'error',
'react/jsx-curly-brace-presence': [
'error',
{ props: 'never', children: 'never' },
{ props: 'always', children: 'always', propElementValues: 'always' },
],
'react/jsx-one-expression-per-line': ['error', { allow: 'single-child' }],
'react/destructuring-assignment': ['error', 'always'],
Expand Down

0 comments on commit dd85459

Please sign in to comment.