Skip to content

Commit

Permalink
add quote-props to general rules from formatting, phetsims/phet-info#150
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent 90fd6d2 commit 6f44c90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions eslint/format_eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,6 @@ module.exports = {
// https://eslint.org/docs/rules/prefer-object-spread
'prefer-object-spread': 'error',

// require quotes around object literal property names
// https://eslint.org/docs/rules/quote-props.html
'quote-props': [ 'error', 'as-needed', { keywords: false, unnecessary: true, numbers: false } ],

// do not require jsdoc
// https://eslint.org/docs/rules/require-jsdoc
'require-jsdoc': 'off',
Expand Down
2 changes: 1 addition & 1 deletion eslint/rules/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
module.exports = {

// Use all of the default rules from eslint file for node code.
'extends': '../node_eslintrc.js'
extends: '../node_eslintrc.js'
};

0 comments on commit 6f44c90

Please sign in to comment.