Skip to content

Commit 1fb300c

Browse files
committed
[eslint config] [base] v5.0.0
1 parent 616233c commit 1fb300c

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

packages/eslint-config-airbnb-base/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
5.0.0 / 2016-07-24
2+
==================
3+
- [breaking] enable `import/newline-after-import`
4+
- [breaking] enable overlooked rules: `linebreak-style`, `new-parens`, `no-continue`, `no-lonely-if`, `operator-assignment`, `space-unary-ops`, `dot-location`, `no-extra-boolean-cast`, `no-this-before-super`, `require-yield`, `no-path-concat`, `no-label-var`, `no-void`, `constructor-super`, `prefer-spread`, `no-new-require`, `no-undef-init`, `no-unexpected-multiline`
5+
- [deps] update `eslint`, `eslint-find-rules`, `eslint-plugin-import`, `babel-tape-runner`; add `babel-preset-airbnb`
6+
- [patch] flesh out defaults: `jsx-quotes`
7+
- [docs] update the peer dep install command to dynamically look up the right version numbers when installing peer deps
8+
- [tests] fix prepublish scripts
9+
110
4.0.2 / 2016-07-14
211
==================
312
- [fix] repair accidental comma-dangle change

packages/eslint-config-airbnb-base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-airbnb-base",
3-
"version": "4.0.2",
3+
"version": "5.0.0",
44
"description": "Airbnb's base JS ESLint config, following our styleguide",
55
"main": "index.js",
66
"scripts": {

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ module.exports = {
105105
// http://eslint.org/docs/rules/max-statements-per-line
106106
'max-statements-per-line': [0, { max: 1 }],
107107

108+
// require multiline ternary
109+
// http://eslint.org/docs/rules/multiline-ternary
110+
'multiline-ternary': 0,
111+
108112
// require a capital letter for constructors
109113
'new-cap': [2, { newIsCap: true }],
110114

0 commit comments

Comments
 (0)