mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-15 06:48:08 -05:00
Added id-length rule to style guide
This commit is contained in:
@@ -128,6 +128,10 @@ module.exports = {
|
||||
'quotes': [
|
||||
2, 'single', 'avoid-escape' // http://eslint.org/docs/rules/quotes
|
||||
],
|
||||
'id-length': [2, {
|
||||
'min': 2,
|
||||
'properties': 'never'
|
||||
}],
|
||||
'camelcase': [2, { // http://eslint.org/docs/rules/camelcase
|
||||
'properties': 'never'
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user