diff --git a/eslint/rules/bad-text.js b/eslint/rules/bad-text.js index face403c..ce2ff421 100644 --- a/eslint/rules/bad-text.js +++ b/eslint/rules/bad-text.js @@ -53,6 +53,8 @@ module.exports = function( context ) { '@return ', + 'Util = require( \'',// Utils should now be plural, see https://github.com/phetsims/tasks/issues/966 + // if on a one line arrow function returning something, prefer instead `() => theReturn`, see https://github.com/phetsims/chipper/issues/790 ' => { return ' ];