From b120a60241eca31784c2cd05f9180204fbb002c9 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 3 May 2015 18:06:04 +0200 Subject: [PATCH] minor tweaks --- .editorconfig | 2 +- .jshintrc | 1 - package.json | 7 +++++-- readme.md | 8 ++++---- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 86c8f59..8f9d77e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,7 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -[package.json] +[{package.json,*.yml}] indent_style = space indent_size = 2 diff --git a/.jshintrc b/.jshintrc index 804f8af..9fe1be2 100644 --- a/.jshintrc +++ b/.jshintrc @@ -2,7 +2,6 @@ "node": true, "esnext": true, "bitwise": true, - "camelcase": true, "curly": true, "immed": true, "newcap": true, diff --git a/package.json b/package.json index 9b6d2c7..4625b64 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", - "url": "http://sindresorhus.com" + "url": "sindresorhus.com" }, "engines": { "node": ">=0.10.0" @@ -22,10 +22,13 @@ "keywords": [ "jshint", "reporter", + "formatter", + "format", "lint", "validate", "stylish", - "elegant" + "elegant", + "pretty" ], "dependencies": { "chalk": "^1.0.0", diff --git a/readme.md b/readme.md index 35f3549..aba54a6 100644 --- a/readme.md +++ b/readme.md @@ -2,16 +2,16 @@ > Stylish reporter for [JSHint](https://github.com/jshint/jshint) -![screenshot](screenshot.png) +![](screenshot.png) Compared to the default reporter: -![default reporter](screenshot-default-formatter.png) +![](screenshot-default-formatter.png) ## Install -```sh +``` $ npm install --save-dev jshint-stylish ``` @@ -20,7 +20,7 @@ $ npm install --save-dev jshint-stylish ### JSHint CLI -```sh +``` $ jshint --reporter node_modules/jshint-stylish/stylish.js file.js ```