Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
semistandard
Advanced tools
All the goodness of feross/standard with semicolons sprinkled on top.
npm install semistandard
Importantly:
package.json
{
"name": "my-cool-package",
"devDependencies": {
"semistandard": "*"
},
"scripts": {
"test": "semistandard && node my-normal-tests-littered-with-semicolons.js"
}
}
npm test
$ npm test
Error: Code style check failed:
lib/torrent.js:950:11: Expected '===' and instead saw '=='.
See feross/standard for more information. In fact, you should probably just use the standard
module instead.
11.0.0 2017-04-20
Updated to match the latest standard v10.0.2
rules and the newest standard-engine
features.
Check standard
changelog that covers all the updates:
https://github.com/feross/standard/blob/master/CHANGELOG.md
In summary:
standard.lintTextSync
method(Estimated % of affected standard users, based on test suite in parens)
Buffer.from()
, Buffer.alloc()
) are used instead of Buffer()
callback
or cb
must be invoked with null
, undefined
, or an Error
as the first argumentError
object...rest
to omit properties from an object (no-unused-vars) #800
import type
statements (import/no-duplicates) #599
process.exit()
the same as throw
in code path analysis (node/process-exit-as-throw) #699
(from standard 10.0.2):
standard
, so we are disabling it until its performance improves.FAQs
All the goodness of `feross/standard` with semicolons sprinkled on top.
The npm package semistandard receives a total of 14,076 weekly downloads. As such, semistandard popularity was classified as popular.
We found that semistandard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.