From 63477846c27c7170661dcaec4b0f98663dc57017 Mon Sep 17 00:00:00 2001 From: GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com> Date: Tue, 8 Apr 2025 22:10:25 +0530 Subject: [PATCH 1/2] solved issue #6603 solving linnting problems Signed-off-by: GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com> --- etc/eslint/rules/variables.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/etc/eslint/rules/variables.js b/etc/eslint/rules/variables.js index efdeb8a69522..17370e86ad98 100644 --- a/etc/eslint/rules/variables.js +++ b/etc/eslint/rules/variables.js @@ -259,6 +259,21 @@ rules[ 'no-use-before-define' ] = [ 'error', { 'classes': true }]; +/** +* Allow identifiers up to 30 characters in length. +* +* @name id-length +* @memberof rules +* @type {Array} +* @default [ 'warn', { max: 30 } ] +* @see [id-length]{@link https://eslint.org/docs/rules/id-length} +* +* @example +* // Okay... +* var hasDefinePropertiesSupport = true; +*/ +rules[ 'id-length' ] = [ 'warn', { 'max': 30 } ]; + // EXPORTS // From 9c7f7e03f045fa8d04f41d5de165b2b40a3748bb Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 9 Apr 2025 00:13:23 -0700 Subject: [PATCH 2/2] Discard changes to etc/eslint/rules/variables.js --- etc/eslint/rules/variables.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/etc/eslint/rules/variables.js b/etc/eslint/rules/variables.js index 17370e86ad98..efdeb8a69522 100644 --- a/etc/eslint/rules/variables.js +++ b/etc/eslint/rules/variables.js @@ -259,21 +259,6 @@ rules[ 'no-use-before-define' ] = [ 'error', { 'classes': true }]; -/** -* Allow identifiers up to 30 characters in length. -* -* @name id-length -* @memberof rules -* @type {Array} -* @default [ 'warn', { max: 30 } ] -* @see [id-length]{@link https://eslint.org/docs/rules/id-length} -* -* @example -* // Okay... -* var hasDefinePropertiesSupport = true; -*/ -rules[ 'id-length' ] = [ 'warn', { 'max': 30 } ]; - // EXPORTS //