Socket
Socket
Sign inDemoInstall

eslint-config-airbnb

Package Overview
Dependencies
88
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

6

CHANGELOG.md

@@ -1,3 +0,7 @@

2.1.0 / 2015-12-03
2.1.1 / 2015-12-15
==================
- [fix] Remove deprecated react/jsx-quotes (#622)
2.1.0 / 2015-12-15
==================
- [fix] use `require.resolve` to allow nested `extend`s (#582)

@@ -4,0 +8,0 @@ - [new] enable `object-shorthand` rule (#621)

2

package.json
{
"name": "eslint-config-airbnb",
"version": "2.1.0",
"version": "2.1.1",
"description": "Airbnb's ESLint config, following our styleguide",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -30,5 +30,2 @@ module.exports = {

'react/jsx-no-undef': 2,
// Enforce quote style for JSX attributes
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-quote.md
'react/jsx-quotes': [2, 'double'],
// Enforce propTypes declarations alphabetical sorting

@@ -35,0 +32,0 @@ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-sort-prop-types.md

@@ -29,3 +29,4 @@ module.exports = {

// specify whether double or single quotes should be used in JSX attributes
'jsx-quotes': 2,
// http://eslint.org/docs/rules/jsx-quotes
'jsx-quotes': [2, 'prefer-double'],
// enforces spacing between keys and values in object literal properties

@@ -32,0 +33,0 @@ 'key-spacing': [2, {'beforeColon': false, 'afterColon': true}],

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc