We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1019217 commit 6347784Copy full SHA for 6347784
etc/eslint/rules/variables.js
@@ -259,6 +259,21 @@ rules[ 'no-use-before-define' ] = [ 'error', {
259
'classes': true
260
}];
261
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
+
277
278
// EXPORTS //
279
0 commit comments