Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-airbnb

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-airbnb - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

6

CHANGELOG.md

@@ -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 @@ ==================

8

package.json
{
"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'],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc