Security News
Supply Chain Attack Detected in @solana/web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
mojito-cli-jslint
Advanced tools
This package provides the jslint
command for the mojito-cli
. Install it with npm install -g mojito-cli
.
Scan files or paths for javascript files, and check their contents with jslint:
mojito jslint [options] [app|mojit] [path(s)]
The default jslint options used, and the patterns of files or directories that will be ignored, are listed in config.js
.
This command can be used generally, if these defaults are acceptable. In other words:
mojito jslint [optional file(s) or path(s)]
...will find jslint errors, if any, on all files ending in .js
in any of the files or directories specified as arguments. If no paths are specified, the current working directory is assumed.
Type arguments "app" and "mojit" are provided for backwards compatibility. If a type argument of "mojito" is used, the mojito library will be linted. This additional type is provided to support the old behavior mojito jslint
, with no arguments, would act on the mojito library.
To run JSLint on a specific mojit:
mojito jslint mojit <path/to/mojit>
--directory <path> Destination directory of the lint report, if --print
-d <path> is not specified. Default is "artifacts/jslint/". The
lint report file is named "jslint.html".
--exclude <pattern> File or directory patterns to exclude from linting.
-e <pattern> This option can be used multiple times.
--print Print the lint results, if any, to the console.
-p
http://developer.yahoo.com/forum/Yahoo-Mojito
This software is free to use under the Yahoo! Inc. BSD license. See LICENSE.txt. To contribute to the Mojito project, please see Contributing.
The Mojito project is a meritocratic, consensus-based community project, which allows anyone to contribute and gain additional responsibilities.
FAQs
Provide the jslint command for mojito-cli
The npm package mojito-cli-jslint receives a total of 3 weekly downloads. As such, mojito-cli-jslint popularity was classified as not popular.
We found that mojito-cli-jslint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.