mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 00:28:25 -05:00
[eslint config] [base] v7.0.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user