Skip to content

Commit e257dee

Browse files
committed
[eslint config] [base] [patch] camelcase: enable ignoreDestructuring
1 parent 6b5922c commit e257dee

File tree

1 file changed

+1
-2
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-2
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ module.exports = {
2121
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
2222

2323
// require camel case names
24-
// TODO: semver-major (eslint 5): add ignoreDestructuring: false option
25-
camelcase: ['error', { properties: 'never' }],
24+
camelcase: ['error', { properties: 'never', ignoreDestructuring: false }],
2625

2726
// enforce or disallow capitalization of the first letter of a comment
2827
// https://eslint.org/docs/rules/capitalized-comments

0 commit comments

Comments
 (0)