Skip to content

Commit b352ec6

Browse files
committed
[eslint config] [base] [fix] Prevent trailing commas in the legacy config.
Fixes airbnb#950.
1 parent a9bfee0 commit b352ec6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ module.exports = {
1515
},
1616
ecmaFeatures: {},
1717
globals: {},
18-
rules: {}
18+
rules: {
19+
'comma-dangle': [2, 'never']
20+
}
1921
};

0 commit comments

Comments
 (0)