eslint-find-rules
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -57,3 +57,3 @@ #!/usr/bin/env node | ||
if (!argv.verbose) { | ||
// in non-verbose output mode, compare a to b | ||
// In non-verbose output mode, compare a to b | ||
// and b to a afterwards, to obtain ALL differences | ||
@@ -60,0 +60,0 @@ // accross those files, but grouped |
@@ -57,3 +57,3 @@ #!/usr/bin/env node | ||
cli.write(); | ||
} else /* istanbul ignore else */if (option === 'getUnusedRules') { | ||
} else /* istanbul ignore next */if (option === 'getUnusedRules') { | ||
processExitCode = 0; | ||
@@ -60,0 +60,0 @@ } |
@@ -19,3 +19,3 @@ 'use strict'; | ||
} | ||
// this is not being called with an arg. Use the package.json `main` | ||
// This is not being called with an arg. Use the package.json `main` | ||
return require(path.join(process.cwd(), 'package.json')).main; // eslint-disable-line import/no-dynamic-require | ||
@@ -26,5 +26,5 @@ } | ||
var cliEngine = new eslint.CLIEngine({ | ||
// ignore any config applicable depending on the location on the filesystem | ||
// Ignore any config applicable depending on the location on the filesystem | ||
useEslintrc: false, | ||
// point to the particular config | ||
// Point to the particular config | ||
configFile: configFile | ||
@@ -92,3 +92,3 @@ }); | ||
// get all the current rules instead of referring the extended files or documentation | ||
// Get all the current rules instead of referring the extended files or documentation | ||
this.getCurrentRules = function () { | ||
@@ -98,3 +98,3 @@ return getSortedRules(currentRules); | ||
// get all the current rules' particular configuration | ||
// Get all the current rules' particular configuration | ||
this.getCurrentRulesDetailed = function () { | ||
@@ -104,3 +104,3 @@ return config.rules; | ||
// get all the plugin rules instead of referring the extended files or documentation | ||
// Get all the plugin rules instead of referring the extended files or documentation | ||
this.getPluginRules = function () { | ||
@@ -110,3 +110,3 @@ return getSortedRules(pluginRules); | ||
// get all the available rules instead of referring eslint and plugin packages or documentation | ||
// Get all the available rules instead of referring eslint and plugin packages or documentation | ||
this.getAllAvailableRules = function () { | ||
@@ -113,0 +113,0 @@ return getSortedRules(allRules); |
{ | ||
"name": "eslint-find-rules", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Find built-in ESLint rules you don't have in your custom config.", | ||
@@ -35,28 +35,28 @@ "main": "dist/lib/rule-finder.js", | ||
"eslint-rule-documentation": "^1.0.0", | ||
"path-is-absolute": "1.0.0", | ||
"path-is-absolute": "^1.0.1", | ||
"which": "^1.2.8", | ||
"window-size": "^0.2.0", | ||
"yargs": "^5.0.0" | ||
"window-size": "^1.0.0", | ||
"yargs": "^8.0.1" | ||
}, | ||
"devDependencies": { | ||
"all-contributors-cli": "3.0.6", | ||
"babel-cli": "6.18.0", | ||
"babel-core": "6.18.0", | ||
"babel-preset-es2015": "6.18.0", | ||
"codecov": "1.0.1", | ||
"commitizen": "2.8.6", | ||
"cz-conventional-changelog": "1.2.0", | ||
"eslint": "3.12.0", | ||
"ghooks": "1.3.2", | ||
"all-contributors-cli": "^4.3.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-core": "^6.25.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"codecov": "^2.2.0", | ||
"commitizen": "^2.9.6", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"eslint": "^3.19.0", | ||
"ghooks": "^2.0.0", | ||
"mocha": "^3.0.1", | ||
"npm-run-all": "3.1.0", | ||
"nyc": "6.6.1", | ||
"npm-run-all": "^4.0.2", | ||
"nyc": "^11.0.2", | ||
"opt-cli": "^1.1.1", | ||
"proxyquire": "1.7.10", | ||
"proxyquire": "^1.8.0", | ||
"rimraf": "^2.6.0", | ||
"semantic-release": "4.3.5", | ||
"sinon": "^1.17.3", | ||
"semantic-release": "^6.3.6", | ||
"sinon": "^2.3.4", | ||
"travis-after-all": "^1.4.4", | ||
"validate-commit-msg": "2.8.0", | ||
"xo": "^0.17.0" | ||
"validate-commit-msg": "^2.12.2", | ||
"xo": "^0.18.2" | ||
}, | ||
@@ -63,0 +63,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57906
42
1313
4
+ Addedcamelcase@4.1.0(transitive)
+ Addedcross-spawn@5.1.0(transitive)
+ Addeddefine-property@1.0.0(transitive)
+ Addedexeca@0.7.0(transitive)
+ Addedfind-up@2.1.0(transitive)
+ Addedget-stream@3.0.0(transitive)
+ Addedis-accessor-descriptor@1.0.1(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-data-descriptor@1.0.1(transitive)
+ Addedis-descriptor@1.0.3(transitive)
+ Addedis-number@3.0.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedkind-of@3.2.2(transitive)
+ Addedload-json-file@2.0.0(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedmem@1.1.0(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addednpm-run-path@2.0.2(transitive)
+ Addedos-locale@2.1.0(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedpath-exists@3.0.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedpath-type@2.0.0(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedread-pkg@2.0.0(transitive)
+ Addedread-pkg-up@2.0.0(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstrip-eof@1.0.0(transitive)
+ Addedwhich-module@2.0.1(transitive)
+ Addedwindow-size@1.1.1(transitive)
+ Addedyallist@2.1.2(transitive)
+ Addedyargs@8.0.2(transitive)
+ Addedyargs-parser@7.0.0(transitive)
- Removedcamelcase@3.0.0(transitive)
- Removedfind-up@1.1.2(transitive)
- Removedis-utf8@0.2.1(transitive)
- Removedload-json-file@1.1.0(transitive)
- Removedlodash.assign@4.2.0(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedpath-exists@2.1.0(transitive)
- Removedpath-is-absolute@1.0.0(transitive)
- Removedpath-type@1.1.0(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedread-pkg@1.1.0(transitive)
- Removedread-pkg-up@1.0.1(transitive)
- Removedstrip-bom@2.0.0(transitive)
- Removedwhich-module@1.0.0(transitive)
- Removedwindow-size@0.2.0(transitive)
- Removedyargs@5.0.0(transitive)
- Removedyargs-parser@3.2.0(transitive)
Updatedpath-is-absolute@^1.0.1
Updatedwindow-size@^1.0.0
Updatedyargs@^8.0.1