eslint-config-airbnb
Advanced tools
Comparing version 4.0.0 to 5.0.0
@@ -0,1 +1,7 @@ | ||
5.0.0 / 2016-02-03 | ||
================== | ||
- [breaking] disallow unneeded ternary expressions | ||
- [breaking] Avoid lexical declarations in case/default clauses | ||
- [dev deps] update `babel-tape-runner`, `eslint-plugin-react`, `react`, `tape` | ||
4.0.0 / 2016-01-22 | ||
@@ -2,0 +8,0 @@ ================== |
{ | ||
"name": "eslint-config-airbnb", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Airbnb's ESLint config, following our styleguide", | ||
@@ -43,5 +43,5 @@ "main": "index.js", | ||
"eslint": "^1.10.3", | ||
"eslint-plugin-react": "^3.12.0", | ||
"react": "^0.13.3", | ||
"tape": "^4.2.2", | ||
"eslint-plugin-react": "^3.16.1", | ||
"react": "^0.14.7", | ||
"tape": "^4.4.0", | ||
"parallelshell": "^2.0.0" | ||
@@ -48,0 +48,0 @@ }, |
@@ -27,2 +27,5 @@ module.exports = { | ||
'no-caller': 2, | ||
// disallow lexical declarations in case/default clauses | ||
// http://eslint.org/docs/rules/no-case-declarations.html | ||
'no-case-declarations': 2, | ||
// disallow division operators explicitly at beginning of regular expression | ||
@@ -29,0 +32,0 @@ 'no-div-regex': 0, |
@@ -77,3 +77,5 @@ module.exports = { | ||
// disallow the use of Boolean literals in conditional expressions | ||
'no-unneeded-ternary': 0, | ||
// also, prefer `a || b` over `a ? a : b` | ||
// http://eslint.org/docs/rules/no-unneeded-ternary | ||
'no-unneeded-ternary': [2, { 'defaultAssignment': false }], | ||
// require padding inside curly braces | ||
@@ -80,0 +82,0 @@ 'object-curly-spacing': [2, 'always'], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35844
715