Skip to content

Commit

Permalink
buildtoolsEslintConfig as just an object, for better spreading, phets…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent 9b20694 commit 0fc9729
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions eslint/buildtools.eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@
* @author Sam Reid (PhET Interactive Simulations)
* @author Michael Kauzmann (PhET Interactive Simulations)
*/
export default [
{
rules: {
export default {
rules: {

// TODO: we only want to turn these off in node code, still run them in the browser, see https://github.com/phetsims/chipper/issues/1451
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off', // TODO: Use IntentionalAny, https://github.com/phetsims/chipper/issues/1465
'@typescript-eslint/no-floating-promises': 'off',
'phet/bad-sim-text': 'off'
}
// TODO: we only want to turn these off in node code, still run them in the browser, see https://github.com/phetsims/chipper/issues/1451
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off', // TODO: Use IntentionalAny, https://github.com/phetsims/chipper/issues/1465
'@typescript-eslint/no-floating-promises': 'off',
'phet/bad-sim-text': 'off'
}
];
}
;

0 comments on commit 0fc9729

Please sign in to comment.