Skip to content

Commit 6347784

Browse files
solved issue stdlib-js#6603
solving linnting problems Signed-off-by: GURU PRASAD SHARMA <[email protected]>
1 parent 1019217 commit 6347784

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

etc/eslint/rules/variables.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,21 @@ rules[ 'no-use-before-define' ] = [ 'error', {
259259
'classes': true
260260
}];
261261

262+
/**
263+
* Allow identifiers up to 30 characters in length.
264+
*
265+
* @name id-length
266+
* @memberof rules
267+
* @type {Array}
268+
* @default [ 'warn', { max: 30 } ]
269+
* @see [id-length]{@link https://eslint.org/docs/rules/id-length}
270+
*
271+
* @example
272+
* // Okay...
273+
* var hasDefinePropertiesSupport = true;
274+
*/
275+
rules[ 'id-length' ] = [ 'warn', { 'max': 30 } ];
276+
262277

263278
// EXPORTS //
264279

0 commit comments

Comments
 (0)