eslint-config-google
Advanced tools
Comparing version 0.2.0 to 0.3.0
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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
13537
40
1