Skip to content
Permalink
Browse files
eslint and gitattributes to ensure LF, run eslint on integration tests
  • Loading branch information
akdor1154 authored and Jarrad Whitaker committed Oct 26, 2017
1 parent e8fec25 commit 9db9275c46f85e99f45e9172a1505c5a3ed5a0cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
@@ -7,4 +7,7 @@ rules:
camelcase: off
padded-blocks: off
operator-linebreak: off
no-throw-literal: off
no-throw-literal: off
linebreak-style:
- error
- unix
@@ -0,0 +1,3 @@
* text=auto eol=lf
/spec/plugman/projects/windows*/* text=auto eol=crlf
/spec/plugman/projects/wp*/* text=auto eol=crlf
@@ -57,7 +57,7 @@
},
"scripts": {
"test": "npm run eslint && npm run unit-tests && npm run e2e-tests",
"eslint": "eslint src spec",
"eslint": "eslint src spec integration-tests",
"unit-tests": "jasmine JASMINE_CONFIG_PATH=spec/jasmine.json",
"cover": "istanbul cover --root src --print detail jasmine JASMINE_CONFIG_PATH=spec/jasmine.json",
"e2e-tests": "jasmine JASMINE_CONFIG_PATH=integration-tests/jasmine.json"

0 comments on commit 9db9275

Please sign in to comment.