Socket
Socket
Sign inDemoInstall

standard

Package Overview
Dependencies
293
Maintainers
17
Versions
183
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.5.0 to 8.6.0

5

CHANGELOG.md

@@ -6,2 +6,7 @@ # Change Log

## 8.6.0 - 2016-11-22
- Update ESLint from 3.8.x to 3.10.x.
- 3 additional rules are now fixable with `standard --fix`!
## 8.5.0 - 2016-10-25

@@ -8,0 +13,0 @@

12

package.json
{
"name": "standard",
"description": "JavaScript Standard Style",
"version": "8.5.0",
"version": "8.6.0",
"author": {

@@ -15,13 +15,13 @@ "email": "feross@feross.org",

"dependencies": {
"eslint": "~3.8.1",
"eslint": "~3.10.2",
"eslint-config-standard": "6.2.1",
"eslint-config-standard-jsx": "3.2.0",
"eslint-plugin-promise": "~3.3.0",
"eslint-plugin-react": "~6.4.1",
"eslint-plugin-promise": "~3.4.0",
"eslint-plugin-react": "~6.7.1",
"eslint-plugin-standard": "~2.0.1",
"standard-engine": "~5.1.0"
"standard-engine": "~5.2.0"
},
"devDependencies": {
"babel-eslint": "^7.0.0",
"cross-spawn": "^4.0.0",
"cross-spawn": "^5.0.1",
"minimist": "^1.2.0",

@@ -28,0 +28,0 @@ "mkdirp": "^0.5.1",

@@ -215,12 +215,6 @@ <h1 align="center">

For automatic formatting on save, install [standard-format](https://github.com/maxogden/standard-format)
For automatic formatting on save, add these two lines to `.vimrc`:
```bash
npm install -g standard-format
```
and add these two lines to `.vimrc`:
```vim
autocmd bufwritepost *.js silent !standard-format -w %
autocmd bufwritepost *.js silent !standard --fix %
set autoread

@@ -249,6 +243,7 @@ ```

For React snippets, install **[vscode-react-standard][vscode-2]**.
For JS snippets, install: **[vscode-standardjs-snippets][vscode-2]**. For React snippets, install **[vscode-react-standard][vscode-3]**.
[vscode-1]: https://marketplace.visualstudio.com/items/chenxsan.vscode-standardjs
[vscode-2]: https://marketplace.visualstudio.com/items/TimonVS.ReactSnippetsStandard
[vscode-2]: https://marketplace.visualstudio.com/items?itemName=capaj.vscode-standardjs-snippets
[vscode-3]: https://marketplace.visualstudio.com/items/TimonVS.ReactSnippetsStandard

@@ -310,15 +305,9 @@ #### [WebStorm/PhpStorm][webstorm-1]

`standard --fix` is built into `standard` (since v8.0.0) for maximum convenience.
Lots of problems are fixable, but some errors, like not handling errors in
node-style callbacks, must be fixed manually.
Lots of problems are fixable, but some errors, like forgetting to handle the error
in node-style callbacks, must be fixed manually.
To save you time, `standard` outputs a message ("Run `standard --fix` to automatically fix some
problems.") when it detects problems that can be fixed automatically.
To save you time, `standard` outputs a message ("Run `standard --fix` to
automatically fix some problems.") when it detects problems that can be fixed
automatically.
Alternatively, if you have an ES5-only codebase, you can try
[`standard-format`][standard-format] (a separate package), but it likely will not
be maintained going forward since `standard --fix` works so well, and does not
require us to maintain two tools with separate rule configurations.
[standard-format]: https://github.com/maxogden/standard-format
### How do I ignore files?

@@ -601,5 +590,5 @@

- **[eslint-config-standard](https://github.com/feross/eslint-config-standard)** - eslint rules for standard
- **[eslint-config-standard-jsx](https://github.com/feross/eslint-config-standard-jsx)** - eslint rules for standard (JSX)
- **[eslint-plugin-standard](https://github.com/xjamundx/eslint-plugin-standard)** - custom eslint rules for standard (not part of eslint core)
- **[eslint](https://github.com/eslint/eslint)** - the linter that powers standard
- **[standard-format](https://github.com/maxogden/standard-format)** - automatic code formatter
- **[snazzy](https://github.com/feross/snazzy)** - pretty terminal output for standard

@@ -606,0 +595,0 @@ - **[standard-www](https://github.com/feross/standard-www)** - code for http://standardjs.com

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc