Skip to content

Commit 4904506

Browse files
committed
[eslint config] [base] v7.0.0
1 parent 55d044c commit 4904506

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
7.0.0 / 2016-09-06
2+
==================
3+
- [breaking] Add no-plusplus in style.js and added explanation in README (#1012)
4+
15
6.0.0 / 2016-09-06
26
==================
37
- [breaking] `valid-typeof`: enable `requireStringLiterals` option

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": "6.0.0",
3+
"version": "7.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ module.exports = {
181181

182182
// disallow use of unary operators, ++ and --
183183
// http://eslint.org/docs/rules/no-plusplus
184-
'no-plusplus': 2,
184+
'no-plusplus': 'error',
185185

186186
// disallow certain syntax forms
187187
// http://eslint.org/docs/rules/no-restricted-syntax

0 commit comments

Comments
 (0)