Skip to content

Commit

Permalink
Add consistent-default-export-name package with import variable name …
Browse files Browse the repository at this point in the history
…rule turned off, phetsims/chipper#1079
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent d07b6e9 commit fdcc863
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eslint/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = {
// in a parent dir
root: true,

// See https://www.npmjs.com/package/eslint-plugin-consistent-default-export-name
plugins: [ 'consistent-default-export-name' ],

// The rules are organized like they are in the list at https://eslint.org/docs/rules/
// First by type, then alphabetically within type
// Explicitly list all rules so it is easy to see what's here and to keep organized
Expand Down Expand Up @@ -895,6 +898,13 @@ module.exports = {
// require or disallow spacing around the `*` in `yield*` expressions
'yield-star-spacing': 'error',

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Plugins
//

// TODO: comment back in when >1200 errors are fixed, see https://github.com/phetsims/chipper/issues/1079
// "consistent-default-export-name/default-import-match-filename": "error",

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Custom Rules
//
Expand Down

0 comments on commit fdcc863

Please sign in to comment.