From 4c0f13ffbcb023d84e3634c24c4594539b42a1b2 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Fri, 21 Jul 2023 09:12:39 -0600 Subject: [PATCH] Remove trailing slash, see https://github.com/phetsims/chipper/issues/1400 --- eslint/rules/explicit-method-return-type.js | 2 +- eslint/rules/require-property-suffix.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint/rules/explicit-method-return-type.js b/eslint/rules/explicit-method-return-type.js index 1df42f213..a209bfe5c 100644 --- a/eslint/rules/explicit-method-return-type.js +++ b/eslint/rules/explicit-method-return-type.js @@ -11,7 +11,7 @@ * @copyright 2022 University of Colorado Boulder */ -const { ESLintUtils } = require( '@typescript-eslint/utils/' ); // eslint-disable-line require-statement-match +const { ESLintUtils } = require( '@typescript-eslint/utils' ); // eslint-disable-line require-statement-match // these are still MethodDefinition nodes, but don't require an annotation const exemptMethods = [ 'get', 'set', 'constructor' ]; diff --git a/eslint/rules/require-property-suffix.js b/eslint/rules/require-property-suffix.js index ec6b24c4b..a9ea32fb0 100644 --- a/eslint/rules/require-property-suffix.js +++ b/eslint/rules/require-property-suffix.js @@ -13,7 +13,7 @@ * @copyright 2022 University of Colorado Boulder */ -const { ESLintUtils } = require( '@typescript-eslint/utils/' ); // eslint-disable-line require-statement-match +const { ESLintUtils } = require( '@typescript-eslint/utils' ); // eslint-disable-line require-statement-match const visit = ( context, propertyNode ) => {