Skip to content

Commit

Permalink
Add new lint-files task in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
willmendesneto committed Sep 3, 2016
1 parent c3c8b55 commit 2cbc67c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 212

[lib/dependencies/AMDDefineDependency.js]
max_line_length = 483
max_line_length = 233

[*.md]
trim_trailing_whitespace = false
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@
],
"scripts": {
"lint-file-standard": "eclint check lib/**/*.js hot/*.js bin/*.js benchmark/*.js test/*.js",
"pretest": "npm run lint && npm run beautify-lint && npm run lint-file-standard",
"pretest": "npm run lint-files && npm run lint-file-standard",
"test": "mocha --harmony --full-trace --check-leaks",
"travis": "npm run cover -- --report lcovonly",
"appveyor": "mocha --harmony --full-trace",
"lint": "eslint lib bin hot",
"lint-files": "npm run lint && npm run beautify-lint",
"nsp": "nsp check --output summary",
"beautify-lint": "beautify-lint lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js",
"beautify": "beautify-rewrite lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js",
Expand Down

0 comments on commit 2cbc67c

Please sign in to comment.