Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-find-rules

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-find-rules - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

src/bin/diff.js

2

dist/bin/diff.js

@@ -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

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