[eslint config] [base] v7.0.0

This commit is contained in:
Jordan Harband
2016-09-06 12:21:22 -07:00
parent 55d044c7c1
commit 49045060e0
3 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
7.0.0 / 2016-09-06
==================
- [breaking] Add no-plusplus in style.js and added explanation in README (#1012)
6.0.0 / 2016-09-06
==================
- [breaking] `valid-typeof`: enable `requireStringLiterals` option

View File

@@ -1,6 +1,6 @@
{
"name": "eslint-config-airbnb-base",
"version": "6.0.0",
"version": "7.0.0",
"description": "Airbnb's base JS ESLint config, following our styleguide",
"main": "index.js",
"scripts": {

View File

@@ -181,7 +181,7 @@ module.exports = {
// disallow use of unary operators, ++ and --
// http://eslint.org/docs/rules/no-plusplus
'no-plusplus': 2,
'no-plusplus': 'error',
// disallow certain syntax forms
// http://eslint.org/docs/rules/no-restricted-syntax