Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit 2f6be8f

Browse files
feat(rule): id-length: accept max 30 chars, allow $, R, i, _
1 parent 3414630 commit 2f6be8f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

coding-styles/recommended.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,16 @@ module.exports = {
4747
// identifier length convention.
4848
'id-length': ['warn', {
4949
min: 2,
50-
max: 25,
50+
max: 30,
5151
exceptions: [
52+
// index
5253
'i',
54+
// lodash 💩
5355
'_',
56+
// ramda 😍
57+
'R',
58+
// jQuery 🤮
59+
'$',
5460
],
5561
}],
5662

0 commit comments

Comments
 (0)