Skip to content

Commit

Permalink
better linting in perennial, phetsims/chipper#1464
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent 4deff65 commit 9b20694
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions eslint/buildtools.eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright 2024, University of Colorado Boulder

/**
* The buildtools-specific eslint config applied only to "server-side" files that aren't run in sims.
* @author Sam Reid (PhET Interactive Simulations)
* @author Michael Kauzmann (PhET Interactive Simulations)
*/
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'
}
}
];

0 comments on commit 9b20694

Please sign in to comment.