eslint-plugin-lodash
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -0,1 +1,8 @@ | ||
v0.1.4 - Tue, 22 Sep 2015 11:30:55 GMT | ||
-------------------------------------- | ||
- [938d144](../../commit/938d144) [added] 'lodash-compat' into the check list | ||
v0.1.3 - Mon, 13 Jul 2015 15:24:07 GMT | ||
@@ -2,0 +9,0 @@ -------------------------------------- |
@@ -16,3 +16,3 @@ /** | ||
ImportDeclaration: function ImportDeclaration(node) { | ||
if (node.source.value === 'lodash') { | ||
if (node.source.value === 'lodash' || node.source.value === 'lodash-compat') { | ||
context.report(node.source, 'Importing the entire lodash library is not permitted, please import the specific functions you need'); | ||
@@ -19,0 +19,0 @@ } |
{ | ||
"name": "eslint-plugin-lodash", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "ESLint Plugin for use with the lodash library", | ||
@@ -18,5 +18,3 @@ "main": "lib/index.js", | ||
"lint": "eslint ./", | ||
"patch": "release patch", | ||
"minor": "release minor", | ||
"major": "release major" | ||
"release": "release" | ||
}, | ||
@@ -35,9 +33,10 @@ "repository": { | ||
"babel": "^5.6.7", | ||
"babel-eslint": "^3.1.18", | ||
"eslint": "^0.24.1", | ||
"eslint-tester": "^0.8.0", | ||
"babel-eslint": "^4.0.5", | ||
"eslint": "^1.0.0", | ||
"eslint-config-airbnb": "0.0.8", | ||
"eslint-plugin-react": "^3.3.2", | ||
"is-my-json-valid": "^2.12.0", | ||
"mocha": "^2.2.5", | ||
"mt-changelog": "^0.6.1", | ||
"release-script": "^0.2.1" | ||
"release-script": "^0.5.0" | ||
}, | ||
@@ -44,0 +43,0 @@ "keywords": [ |
@@ -47,3 +47,3 @@ ESLint-plugin-lodash | ||
* [import](docs/rules/import.md): Prevent importing the entire lodash library. | ||
* [import](docs/rules/import.md): Prevent importing the entire lodash (or lodash-compat) library. | ||
@@ -50,0 +50,0 @@ ## To Do |
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
5290
0
0
9