Skip to content

Commit

Permalink
Enforce single-quotes for JSX (#78)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
Richienb and sindresorhus committed Mar 20, 2022
1 parent 80f8339 commit 93194d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Expand Up @@ -326,7 +326,10 @@ module.exports = {
SwitchCase: 1,
},
],
'jsx-quotes': 'error',
'jsx-quotes': [
'error',
'prefer-single'
],
'key-spacing': [
'error',
{
Expand Down

0 comments on commit 93194d2

Please sign in to comment.