diff --git a/packages/eslint-config-airbnb-base/CHANGELOG.md b/packages/eslint-config-airbnb-base/CHANGELOG.md index b2813dcb..4c0b304f 100644 --- a/packages/eslint-config-airbnb-base/CHANGELOG.md +++ b/packages/eslint-config-airbnb-base/CHANGELOG.md @@ -1,3 +1,12 @@ +5.0.0 / 2016-07-24 +================== + - [breaking] enable `import/newline-after-import` + - [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` + - [deps] update `eslint`, `eslint-find-rules`, `eslint-plugin-import`, `babel-tape-runner`; add `babel-preset-airbnb` + - [patch] flesh out defaults: `jsx-quotes` + - [docs] update the peer dep install command to dynamically look up the right version numbers when installing peer deps + - [tests] fix prepublish scripts + 4.0.2 / 2016-07-14 ================== - [fix] repair accidental comma-dangle change diff --git a/packages/eslint-config-airbnb-base/package.json b/packages/eslint-config-airbnb-base/package.json index e784f59c..175fc87f 100644 --- a/packages/eslint-config-airbnb-base/package.json +++ b/packages/eslint-config-airbnb-base/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-airbnb-base", - "version": "4.0.2", + "version": "5.0.0", "description": "Airbnb's base JS ESLint config, following our styleguide", "main": "index.js", "scripts": { diff --git a/packages/eslint-config-airbnb-base/rules/style.js b/packages/eslint-config-airbnb-base/rules/style.js index 97afa416..c8a6f50e 100644 --- a/packages/eslint-config-airbnb-base/rules/style.js +++ b/packages/eslint-config-airbnb-base/rules/style.js @@ -105,6 +105,10 @@ module.exports = { // http://eslint.org/docs/rules/max-statements-per-line 'max-statements-per-line': [0, { max: 1 }], + // require multiline ternary + // http://eslint.org/docs/rules/multiline-ternary + 'multiline-ternary': 0, + // require a capital letter for constructors 'new-cap': [2, { newIsCap: true }],