From f6ac783d97ff16a415ec14d5040ea901621a546d Mon Sep 17 00:00:00 2001 From: d3viant0ne Date: Tue, 26 Jul 2016 13:19:33 -0500 Subject: [PATCH] chore(style): Removes jsbeautify - Removes jsbeautify - Removes jsbueatify npm scripts - Updates contributing.md --- .jsbeautifyrc | 25 ------------------------- CONTRIBUTING.md | 2 +- package.json | 7 ++----- 3 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 .jsbeautifyrc diff --git a/.jsbeautifyrc b/.jsbeautifyrc deleted file mode 100644 index 79b04984..00000000 --- a/.jsbeautifyrc +++ /dev/null @@ -1,25 +0,0 @@ -{ - "js": { - "allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], - "brace_style": "collapse", - "break_chained_methods": false, - "e4x": true, - "eval_code": false, - "end_with_newline": true, - "indent_char": "\t", - "indent_level": 0, - "indent_size": 1, - "indent_with_tabs": true, - "jslint_happy": false, - "jslint_happy_align_switch_case": true, - "space_after_anon_function": false, - "keep_array_indentation": false, - "keep_function_indentation": false, - "max_preserve_newlines": 2, - "preserve_newlines": true, - "space_before_conditional": false, - "space_in_paren": false, - "unescape_strings": false, - "wrap_line_length": 0 - } -} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ecd3160e..b12e0f68 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,5 +38,5 @@ your pull request should be accepted quickly. Some things that will increase the chance that your pull request is accepted: * Write tests -* Follow the existing Webpack coding style defined in the eslint jsbeutify and editor config rules. +* Follow the existing Webpack coding style defined in the eslint and editor config rules. * Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) diff --git a/package.json b/package.json index 72b4e8b0..4aab2000 100644 --- a/package.json +++ b/package.json @@ -14,19 +14,16 @@ "webpack-dev-middleware": "^1.0.11" }, "devDependencies": { - "beautify-lint": "^1.0.4", "coffee-loader": "~0.7.2", "eslint": "^3.1.1", - "jsbeautify": "^0.3.6", "karma": ">=0.13.2 < 1", "karma-chrome-launcher": "~0.1.5", "karma-mocha": "~0.1.9", "karma-spec-reporter": "~0.0.16" }, "scripts": { - "pretest": "npm run lint && npm run beautify-lint", - "lint": "eslint example index.js mocha-env-loader.js", - "beautify-lint": "beautify-lint *.js" + "pretest": "npm run lint", + "lint": "eslint example index.js mocha-env-loader.js" }, "license": "MIT", "homepage": "http://github.com/webpack/karma-webpack",