Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions etc/eslint/rules/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 //

Expand Down
Loading