Socket
Socket
Sign inDemoInstall

eslint-config-google

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-google - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

LICENSE

55

index.js

@@ -0,1 +1,16 @@

/**
* Copyright 2015 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';

@@ -6,22 +21,22 @@ var deepAssign = require('deep-assign');

module.exports = deepAssign(xo, {
globals: {
goog: true
},
rules: {
'indent': [2, 2, {
SwitchCase: 1
}],
'space-before-function-paren': [2, 'never'],
'valid-jsdoc': [2, {
requireReturn: false,
prefer: {
returns: 'return'
}
}],
'require-jsdoc': 1,
'max-len': [1, 80, 4, {
ignoreComments: true,
ignoreUrls: true
}]
}
globals: {
goog: true
},
rules: {
'indent': [2, 2, {
SwitchCase: 1
}],
'space-before-function-paren': [2, 'never'],
'valid-jsdoc': [2, {
requireReturn: false,
prefer: {
returns: 'return'
}
}],
'require-jsdoc': 1,
'max-len': [1, 80, 4, {
ignoreComments: true,
ignoreUrls: true
}]
}
});
{
"name": "eslint-config-google",
"version": "0.2.0",
"version": "0.3.0",
"description": "ESLint shareable config for the Google style",
"license": "MIT",
"repository": "sindresorhus/eslint-config-google",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"license": "Apache-2",
"repository": "google/eslint-config-google",
"author": "Google",
"engines": {

@@ -47,3 +43,3 @@ "node": ">=0.10.0"

"ava": "*",
"eslint": "^1.7.3",
"eslint": "^1.8.0",
"is-plain-obj": "^1.0.0",

@@ -53,4 +49,4 @@ "temp-write": "^2.0.1"

"peerDependencies": {
"eslint": ">=1.7.3"
"eslint": ">=1.8.0"
}
}
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