Socket
Socket
Sign inDemoInstall

eslint-config-hapi

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-hapi - npm Package Compare versions

Comparing version 10.0.0 to 10.1.0

20

lib/index.js

@@ -18,3 +18,3 @@ 'use strict';

'no-underscore-dangle': 'off',
'no-undef': 'off',
'no-undef': ['error', { typeof: false }],
'no-process-exit': 'off',

@@ -26,4 +26,4 @@ 'no-unused-expressions': 'off',

'brace-style': ['warn', 'stroustrup'],
'no-shadow': ['warn', { 'allow': ['err', 'done'] }],
'no-unused-vars': ['warn', { vars: 'all', varsIgnorePattern: '^internals$', 'args': 'none' }],
'no-shadow': ['warn', { allow: ['err', 'done'] }],
'no-unused-vars': ['warn', { vars: 'all', varsIgnorePattern: '^internals$', args: 'none' }],
'one-var': ['error', 'never'],

@@ -45,3 +45,3 @@ 'handle-callback-err': ['error', '^(e|err|error)$'],

'arrow-parens': ['error', 'always'],
'arrow-spacing': ['error', { 'before': true, 'after': true }],
'arrow-spacing': ['error', { before: true, after: true }],
'hapi/no-arrowception': 'error',

@@ -56,7 +56,7 @@ 'quotes': ['error', 'single'],

'no-mixed-spaces-and-tabs': 'error',
'keyword-spacing': ['error', { 'before': true, 'after': true }],
'keyword-spacing': ['error', { before: true, after: true }],
'semi': ['error', 'always'],
'semi-spacing': ['error', { 'before': false, 'after': true }],
'semi-spacing': ['error', { before: false, after: true }],
'space-infix-ops': 'error',
'space-unary-ops': ['warn', { 'words': true, 'nonwords': false }],
'space-unary-ops': ['warn', { words: true, nonwords: false }],
'strict': ['error', 'global'],

@@ -74,5 +74,5 @@ 'eqeqeq': 'error',

'prefer-arrow-callback': 'error',
'prefer-const': 'error',
'indent': ['error', 4, { 'SwitchCase': 1 }],
'space-before-function-paren': ['error', { 'anonymous': 'always', 'named': 'never' }],
'prefer-const': ['error', { destructuring: 'all' }],
'indent': ['error', 4, { SwitchCase: 1 }],
'space-before-function-paren': ['error', { anonymous: 'always', named: 'never' }],
'func-style': ['error', 'expression'],

@@ -79,0 +79,0 @@ 'object-curly-spacing': ['error', 'always'],

{
"name": "eslint-config-hapi",
"version": "10.0.0",
"version": "10.1.0",
"description": "Shareable ESLint config for the hapi ecosystem",

@@ -27,7 +27,7 @@ "author": "Continuation Labs <contact@continuation.io> (http://continuation.io/)",

"devDependencies": {
"belly-button": "3.x.x",
"code": "3.x.x",
"eslint": "3.x.x",
"belly-button": "4.x.x",
"code": "4.x.x",
"eslint": "4.x.x",
"eslint-plugin-hapi": "4.x.x",
"lab": "10.x.x"
"lab": "14.x.x"
},

@@ -34,0 +34,0 @@ "keywords": [

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