Skip to content

Commit 867bfde

Browse files
committed
Added id-length rule to style guide
1 parent 69b86bd commit 867bfde

File tree

1 file changed

+4
-0
lines changed
  • packages/eslint-config-airbnb/base

1 file changed

+4
-0
lines changed

packages/eslint-config-airbnb/base/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ module.exports = {
128128
'quotes': [
129129
2, 'single', 'avoid-escape' // http://eslint.org/docs/rules/quotes
130130
],
131+
'id-length': [2, {
132+
'min': 2,
133+
'properties': 'never'
134+
}],
131135
'camelcase': [2, { // http://eslint.org/docs/rules/camelcase
132136
'properties': 'never'
133137
}],

0 commit comments

Comments
 (0)