eslint-find-rules
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -5,3 +5,3 @@ "use strict"; | ||
return a.filter(function (item) { | ||
return !b.includes(item); | ||
return b.indexOf(item) === -1; | ||
}).sort(function (a, b) { | ||
@@ -8,0 +8,0 @@ return a > b; |
{ | ||
"name": "eslint-find-rules", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Find built-in ESLint rules you don't have in your custom config.", | ||
@@ -15,3 +15,3 @@ "main": "dist/lib/rule-finder.js", | ||
"prebuild": "rimraf dist", | ||
"build": "babel src -d dist --presets es2015", | ||
"build": "babel src -d dist", | ||
"report-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codecov", | ||
@@ -38,3 +38,3 @@ "semantic-release": "semantic-release pre && npm publish && semantic-release post", | ||
"which": "^1.2.8", | ||
"window-size": "^1.0.0", | ||
"window-size": "0.3.0", | ||
"yargs": "^8.0.1" | ||
@@ -50,3 +50,3 @@ }, | ||
"cz-conventional-changelog": "^2.0.0", | ||
"eslint": "^3.19.0", | ||
"eslint": "^3.12.0 || ^4.0.0", | ||
"ghooks": "^2.0.0", | ||
@@ -66,3 +66,3 @@ "mocha": "^3.0.1", | ||
"peerDependencies": { | ||
"eslint": "^3.12.0" | ||
"eslint": "^3.12.0 || ^4.0.0" | ||
}, | ||
@@ -69,0 +69,0 @@ "nyc": { |
function difference(a, b) { | ||
return a.filter(item => !b.includes(item)).sort((a, b) => a > b); | ||
return a.filter(item => b.indexOf(item) === -1).sort((a, b) => a > b); | ||
} | ||
module.exports = difference; |
Sorry, the diff of this file is not supported yet
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
66350
44
+ Addedajv@5.5.2(transitive)
+ Addedajv-keywords@2.1.1(transitive)
+ Addedansi-escapes@3.2.0(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedchardet@0.4.2(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addedeslint@4.19.1(transitive)
+ Addedeslint-scope@3.7.3(transitive)
+ Addedeslint-visitor-keys@1.3.0(transitive)
+ Addedexternal-editor@2.2.0(transitive)
+ Addedfast-deep-equal@1.1.0(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfigures@2.0.0(transitive)
+ Addedfunctional-red-black-tree@1.0.1(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinquirer@3.3.0(transitive)
+ Addedjson-schema-traverse@0.3.1(transitive)
+ Addedjson-stable-stringify-without-jsonify@1.0.1(transitive)
+ Addedms@2.1.3(transitive)
+ Addedmute-stream@0.0.7(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpluralize@7.0.0(transitive)
+ Addedprogress@2.0.3(transitive)
+ Addedregexpp@1.1.0(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrx-lite@4.0.8(transitive)
+ Addedrx-lite-aggregates@4.0.8(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedslice-ansi@1.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedtable@4.0.2(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedwindow-size@0.3.0(transitive)
- Removedajv@4.11.8(transitive)
- Removedajv-keywords@1.5.1(transitive)
- Removedansi-escapes@1.4.0(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcli-cursor@1.0.2(transitive)
- Removedd@1.0.2(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-property@1.0.0(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-map@0.1.5(transitive)
- Removedes6-set@0.1.6(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedes6-weak-map@2.0.3(transitive)
- Removedescope@3.6.0(transitive)
- Removedeslint@3.19.0(transitive)
- Removedesniff@2.0.1(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedexit-hook@1.1.1(transitive)
- Removedext@1.7.0(transitive)
- Removedfigures@1.7.0(transitive)
- Removedgenerate-function@2.3.1(transitive)
- Removedgenerate-object-property@1.2.0(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedglobals@9.18.0(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedinquirer@0.12.0(transitive)
- Removedinterpret@1.4.0(transitive)
- Removedis-accessor-descriptor@1.0.1(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-data-descriptor@1.0.1(transitive)
- Removedis-descriptor@1.0.3(transitive)
- Removedis-my-ip-valid@1.0.1(transitive)
- Removedis-my-json-valid@2.20.6(transitive)
- Removedis-number@3.0.0(transitive)
- Removedis-property@1.0.2(transitive)
- Removedisarray@2.0.5(transitive)
- Removedjson-stable-stringify@1.1.1(transitive)
- Removedjsonify@0.0.1(transitive)
- Removedjsonpointer@5.0.1(transitive)
- Removedkind-of@3.2.2(transitive)
- Removedms@2.0.0(transitive)
- Removedmute-stream@0.0.5(transitive)
- Removednext-tick@1.1.0(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedonetime@1.1.0(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedpluralize@1.2.1(transitive)
- Removedprogress@1.1.8(transitive)
- Removedreadline2@1.0.1(transitive)
- Removedrechoir@0.6.2(transitive)
- Removedrestore-cursor@1.0.1(transitive)
- Removedrun-async@0.1.0(transitive)
- Removedrx-lite@3.1.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedshelljs@0.7.8(transitive)
- Removedslice-ansi@0.0.4(transitive)
- Removedtable@3.8.3(transitive)
- Removedtype@2.7.3(transitive)
- Removeduser-home@2.0.0(transitive)
- Removedwindow-size@1.1.1(transitive)
- Removedxtend@4.0.2(transitive)
Updatedwindow-size@0.3.0