Socket
Socket
Sign inDemoInstall

semistandard

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semistandard - npm Package Versions

1
56

2.3.2

Diff

flet
published 2.3.1 •

flet
published 2.3.0 •

flet
published 2.2.1 •

flet
published 2.2.0 •

flet
published 2.1.0 •

flet
published 2.0.0 •

Changelog

Source

12.0.0 2017-12-19

Updated to eslint 4 and standard 11.0.0 and the latest standard-engine.

With the eslint update, there are a few rules that are more strict now. Thankfully running semistandard --fix will fix just about all of them!

Check standard changelog that covers all the updates in detail: https://standardjs.com/changelog

flet
published 1.0.2 •

flet
published 1.0.1 •

flet
published 1.0.0 •

Changelog

Source

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:

  • using deprecated Node.js APIs is now considered an error. It's finally time to update those dusty old APIs!

New features

  • Update ESLint from 3.15.x to 3.19.x.
  • Node.js API: Add standard.lintTextSync method

New rules

(Estimated % of affected standard users, based on test suite in parens)

  • Disallow using deprecated Node.js APIs (node/no-deprecated-api) #693 (13%)
    • Ensures that code always runs without warnings on the latest versions of Node.js
    • Ensures that safe Buffer methods (Buffer.from(), Buffer.alloc()) are used instead of Buffer()
  • Enforce callbacks always called with Node.js-style error first (standard/no-callback-literal) #623 (3%)
    • Functions named callback or cb must be invoked with null, undefined, or an Error as the first argument
    • Disallows using a string instead of an Error object
    • Disallows confusing callbacks that do not follow the standard Node.js pattern
  • Disallow any imports that come after non-import statements (import/first) #806 (1%)
  • Disallow unnecessary return await (no-return-await) #695 (0%)
  • Disallow comma-dangle in functions (comma-dangle) #787 (0%)
  • Disallow repeated exports of names or defaults (import/export) #806 (0%)
  • Disallow import of modules using absolute paths (import/no-absolute-path) #806 (0%)
  • Disallow Webpack loader syntax in imports (import/no-webpack-loader-syntax) #806 (0%)
  • Disallow comparing against -0 (no-compare-neg-zero) #812 (0%)

Changed rules

  • Relax rule: allow using ...rest to omit properties from an object (no-unused-vars) #800
    • This is a common and useful pattern in React/JSX apps!
  • Relax rule: allow Flow import type statements (import/no-duplicates) #599
    • These are no longer considered to be "duplicate imports"
  • Relax rule: Treat process.exit() the same as throw in code path analysis (node/process-exit-as-throw) #699
    • Makes certain other rules work better and give fewer false positives
  • Relax rule: allow Unnecessary Labels (no-extra-label)
    • Redundant, since "no-labels" is already enabled, which is more restrictive

(from standard 10.0.2):

  • Relax rule: Disallow import of modules using absolute paths (import/no-absolute-path) #861
    • This rule was responsible for up to 25% of the running time of standard, so we are disabling it until its performance improves.
1
56
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