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

eslint-config-airbnb

Package Overview
Dependencies
Maintainers
2
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 0.1.0 to 0.1.1

2

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

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

@@ -35,3 +35,3 @@ module.exports = {

// disallow modifying variables that are declared using const
'no-const-assign': 0,
'no-const-assign': 2,
// disallow to use this/super before super() calling in constructors.

@@ -38,0 +38,0 @@ 'no-this-before-super': 0,

module.exports = {
'rules': {
// require that all functions are run in strict mode
// babel inserts `'use strict';` for us
'strict': [2, 'never']
}
};

@@ -24,3 +24,3 @@ module.exports = {

// this option enforces minimum and maximum identifier lengths (variable names, property names etc.)
'id-length': [2, {'min': 2, 'properties': 'never'}],
'id-length': 0,
// this option sets a specific tab width for your code

@@ -53,3 +53,3 @@ 'indent': [2, 2],

// disallow mixed spaces and tabs for indentation
'no-mixed-spaces-and-tabs': 0,
'no-mixed-spaces-and-tabs': 2,
// disallow multiple empty lines

@@ -93,4 +93,6 @@ 'no-multiple-empty-lines': [2, {'max': 2}],

'sort-vars': 0,
// require a space before certain keywords
'space-before-keywords': [2, 'always'],
// require a space after certain keywords
'space-after-keywords': 2,
'space-after-keywords': [2, 'always'],
// require or disallow space before blocks

@@ -97,0 +99,0 @@ 'space-before-blocks': 2,

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