standard
Advanced tools
Comparing version 8.5.0 to 8.6.0
@@ -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 @@ |
{ | ||
"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 |
68405
602
+ Addedbabel-code-frame@6.26.0(transitive)
+ Addedeslint@3.10.2(transitive)
+ Addedeslint-plugin-promise@3.4.2(transitive)
+ Addedeslint-plugin-react@6.7.1(transitive)
+ Addedinterpret@1.4.0(transitive)
+ Addedis-core-module@2.13.1(transitive)
+ Addedjs-tokens@3.0.2(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedrechoir@0.6.2(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedshelljs@0.7.8(transitive)
+ Addedstandard-engine@5.2.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedeslint@3.8.1(transitive)
- Removedeslint-plugin-promise@3.3.2(transitive)
- Removedeslint-plugin-react@6.4.1(transitive)
- Removedshelljs@0.6.1(transitive)
- Removedstandard-engine@5.1.1(transitive)
Updatedeslint@~3.10.2
Updatedeslint-plugin-promise@~3.4.0
Updatedeslint-plugin-react@~6.7.1
Updatedstandard-engine@~5.2.0