Skip to content

Commit

Permalink
Configure @stylistic/quote-props
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Feb 14, 2024
1 parent b5ffe45 commit 27d200c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ export default [
*/
"@stylistic/operator-linebreak": ["error", "after"],

/**
* Disallow quotes around object literal property names that are not
* strictly required.
*
* @see {@link https://eslint.style/rules/default/quote-props}
*/
"@stylistic/quote-props": ["error", "as-needed"],

/**
* Enforce consistent spacing before function parentheses.
*
Expand Down

0 comments on commit 27d200c

Please sign in to comment.