Socket
Socket
Sign inDemoInstall

eslint-config-google

Package Overview
Dependencies
88
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.1 to 0.9.0

46

index.js

@@ -34,2 +34,5 @@ /**

// ---------------------------------------------
// 'for-direction': 0,
// 'no-await-in-loop': 0,
// 'no-compare-neg-zero': 2, // eslint:recommended
'no-cond-assign': 0, // eslint:recommended

@@ -43,4 +46,4 @@ // 'no-console': 2, // eslint:recommended

// 'no-duplicate-case': 2, // eslint:recommended
// 'no-empty': 2, // eslint:recommended
// 'no-empty-character-class': 2, // eslint:recommended
// 'no-empty': 2, // eslint:recommended
// 'no-ex-assign': 2, // eslint:recommended

@@ -117,10 +120,11 @@ // 'no-extra-boolean-cast': 2, // eslint:recommended

'no-multi-str': 2,
// 'no-new': 0,
// 'no-new-func': 0,
'no-new-wrappers': 2,
// 'no-new': 0,
// 'no-octal': 2, // eslint:recommended
// 'no-octal-escape': 0,
// 'no-octal': 2, // eslint:recommended
// 'no-param-reassign': 0,
// 'no-proto': 0,
// 'no-redeclare': 2, // eslint:recommended
// 'no-restricted-properties': 0,
// 'no-return-assign': 0,

@@ -141,3 +145,5 @@ // 'no-script-url': 0,

'no-with': 2,
// 'prefer-promise-reject-errors': 0,
// 'radix': 0,
// 'require-await': 0,
// 'vars-on-top': 0,

@@ -160,6 +166,6 @@ // 'wrap-iife': 0,

// 'no-restricted-globals': 0,
// 'no-shadow': 0,
// 'no-shadow-restricted-names': 0,
// 'no-shadow': 0,
// 'no-undef': 2, // eslint:recommended
// 'no-undef-init': 0,
// 'no-undef': 2, // eslint:recommended
// 'no-undefined': 0,

@@ -175,2 +181,3 @@ 'no-unused-vars': [2, {args: 'none'}], // eslint:recommended

// 'handle-callback-err': 0,
// 'no-buffer-constructor': 0,
// 'no-mixed-requires': 0,

@@ -182,3 +189,2 @@ // 'no-new-require': 0,

// 'no-restricted-modules': 0,
// 'no-restricted-properties': 0,
// 'no-sync': 0,

@@ -189,6 +195,9 @@

// ----------------------------------------------
'array-bracket-newline': 0, // eslint:recommended
'array-bracket-spacing': [2, 'never'],
// 'block-spacing': 0,
'array-element-newline': 0, // eslint:recommended
'block-spacing': [2, 'never'],
'brace-style': 2,
'camelcase': [2, {properties: 'never'}],
// 'capitalized-comments': 0,
'comma-dangle': [2, 'always-multiline'],

@@ -215,3 +224,2 @@ 'comma-spacing': 2,

// 'lines-around-comment': 0,
// 'lines-around-directive': 0,
// 'max-depth': 0,

@@ -227,4 +235,4 @@ 'max-len': [2, {

// 'max-params': 0,
// 'max-statements': 0,
// 'max-statements-per-line': 0,
// 'max-statements': 0,
// 'multiline-ternary': 0, // TODO(philipwalton): add a rule to enforce the

@@ -234,4 +242,2 @@ // operator appearing at the end of the line.

// 'new-parens': 0,
// 'newline-after-var': 0,
// 'newline-before-return': 0,
// 'newline-per-chained-call': 0,

@@ -245,2 +251,3 @@ 'no-array-constructor': 2,

'no-mixed-spaces-and-tabs': 2, // eslint:recommended
// 'no-multi-assign': 0,
'no-multiple-empty-lines': [2, {max: 2}],

@@ -258,6 +265,6 @@ // 'no-negated-condition': 0,

// 'no-whitespace-before-property': 0,
// 'nonblock-statement-body-position': 0,
// 'object-curly-newline': 0,
'object-curly-spacing': 2,
// 'object-property-newline': 0,
// 'one-var-declaration-per-line': 0,
'one-var': [2, {

@@ -268,5 +275,7 @@ var: 'never',

}],
// 'one-var-declaration-per-line': 0,
// 'operator-assignment': 0,
// 'operator-linebreak': 0,
'padded-blocks': [2, 'never'],
// 'padding-line-between-statements': 0,
'quote-props': [2, 'consistent'],

@@ -281,8 +290,13 @@ 'quotes': [2, 'single', {allowTemplateLiterals: true}],

}],
'semi': 2,
'semi-spacing': 2,
'semi': 2,
// 'semi-style': 0,
// 'sort-keys': 0,
// 'sort-vars': 0,
'space-before-blocks': 2,
'space-before-function-paren': [2, 'never'],
'space-before-function-paren': [2, {
asyncArrow: 'always',
anonymous: 'never',
named: 'never',
}],
// 'space-in-parens': 0,

@@ -292,2 +306,4 @@ // 'space-infix-ops': 0,

'spaced-comment': [2, 'always'],
'switch-colon-spacing': 2,
// 'template-tag-spacing': 0,
// 'unicode-bom': 0,

@@ -322,4 +338,4 @@ // 'wrap-regex': 0,

// 'prefer-const': 0,
// 'prefer-destructuring': 0,
// 'prefer-numeric-literals': 0,
// 'prefer-reflect': 0,
'prefer-rest-params': 2,

@@ -326,0 +342,0 @@ 'prefer-spread': 2,

{
"name": "eslint-config-google",
"version": "0.8.1",
"version": "0.9.0",
"description": "ESLint shareable config for the Google style",

@@ -38,7 +38,7 @@ "license": "Apache-2.0",

"devDependencies": {
"eslint": "^3.8.1"
"eslint": "^4.1.1"
},
"peerDependencies": {
"eslint": ">=3.8.1"
"eslint": ">=4.1.1"
}
}
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