Socket
Socket
Sign inDemoInstall

solhint

Package Overview
Dependencies
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solhint - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

6

lib/config/config-file.js

@@ -54,7 +54,9 @@ const path = require('path')

const explorer = cosmiconfig(moduleName, cosmiconfigOptions)
// if a specific path was specified, just load it and ignore default paths
if (configFile) {
cosmiconfigOptions.searchPlaces.push(configFile)
return explorer.loadSync(configFile).config
}
const explorer = cosmiconfig(moduleName, cosmiconfigOptions)
const searchedFor = explorer.searchSync(appDirectory)

@@ -61,0 +63,0 @@ if (!searchedFor) {

{
"name": "solhint",
"version": "2.1.1",
"version": "2.1.2",
"description": "Solidity Code Linter",

@@ -5,0 +5,0 @@ "main": "solhint.js",

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