forked from mgechev/angular-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix indentations and TypeScript syntax
Corrects indentation levels in files to conform the .editorconfig. Also replaces vanilla javascript anonymous function calls with the shorthand Typescript notation ( () => )
- Loading branch information
TheDonDope
committed
Mar 6, 2016
1 parent
37889b4
commit b3a88a9
Showing
7 changed files
with
129 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,61 @@ | ||
{ | ||
"bitwise": true, | ||
"camelcase": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"es3": false, | ||
"forin": true, | ||
"freeze": true, | ||
"immed": true, | ||
"indent": 2, | ||
"latedef": "nofunc", | ||
"newcap": true, | ||
"noarg": true, | ||
"noempty": true, | ||
"nonbsp": true, | ||
"nonew": true, | ||
"plusplus": false, | ||
"quotmark": "single", | ||
"undef": true, | ||
"unused": false, | ||
"strict": false, | ||
"maxparams": 10, | ||
"maxdepth": 5, | ||
"maxstatements": 40, | ||
"maxcomplexity": 8, | ||
"maxlen": 140, | ||
"bitwise": true, | ||
"camelcase": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"es3": false, | ||
"forin": true, | ||
"freeze": true, | ||
"immed": true, | ||
"indent": 2, | ||
"latedef": "nofunc", | ||
"newcap": true, | ||
"noarg": true, | ||
"noempty": true, | ||
"nonbsp": true, | ||
"nonew": true, | ||
"plusplus": false, | ||
"quotmark": "single", | ||
"undef": true, | ||
"unused": false, | ||
"strict": false, | ||
"maxparams": 10, | ||
"maxdepth": 5, | ||
"maxstatements": 40, | ||
"maxcomplexity": 8, | ||
"maxlen": 140, | ||
|
||
"asi": false, | ||
"boss": false, | ||
"debug": false, | ||
"eqnull": true, | ||
"esnext": false, | ||
"evil": false, | ||
"expr": false, | ||
"funcscope": false, | ||
"globalstrict": false, | ||
"iterator": false, | ||
"lastsemic": false, | ||
"laxbreak": false, | ||
"laxcomma": false, | ||
"loopfunc": true, | ||
"maxerr": false, | ||
"moz": false, | ||
"multistr": false, | ||
"notypeof": false, | ||
"proto": false, | ||
"scripturl": false, | ||
"shadow": false, | ||
"sub": true, | ||
"supernew": false, | ||
"validthis": false, | ||
"noyield": false, | ||
"asi": false, | ||
"boss": false, | ||
"debug": false, | ||
"eqnull": true, | ||
"esnext": false, | ||
"evil": false, | ||
"expr": false, | ||
"funcscope": false, | ||
"globalstrict": false, | ||
"iterator": false, | ||
"lastsemic": false, | ||
"laxbreak": false, | ||
"laxcomma": false, | ||
"loopfunc": true, | ||
"maxerr": false, | ||
"moz": false, | ||
"multistr": false, | ||
"notypeof": false, | ||
"proto": false, | ||
"scripturl": false, | ||
"shadow": false, | ||
"sub": true, | ||
"supernew": false, | ||
"validthis": false, | ||
"noyield": false, | ||
|
||
"browser": true, | ||
"node": true, | ||
"browser": true, | ||
"node": true, | ||
|
||
"globals": { | ||
"angular": false, | ||
"ng": false | ||
} | ||
"globals": { | ||
"angular": false, | ||
"ng": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
exports.config = { | ||
baseUrl: 'http://localhost:5555', | ||
|
||
specs: [ | ||
'dist/dev/**/*.e2e.js' | ||
], | ||
exclude: [], | ||
|
||
framework: 'jasmine2', | ||
|
||
allScriptsTimeout: 110000, | ||
|
||
jasmineNodeOpts: { | ||
showTiming: true, | ||
showColors: true, | ||
isVerbose: false, | ||
includeStackTrace: false, | ||
defaultTimeoutInterval: 400000 | ||
}, | ||
directConnect: true, | ||
|
||
capabilities: { | ||
'browserName': 'chrome' | ||
}, | ||
|
||
onPrepare: function() { | ||
var SpecReporter = require('jasmine-spec-reporter'); | ||
// add jasmine spec reporter | ||
jasmine.getEnv().addReporter(new SpecReporter({displayStacktrace: true})); | ||
|
||
browser.ignoreSynchronization = false; | ||
}, | ||
|
||
|
||
/** | ||
* Angular 2 configuration | ||
* | ||
* useAllAngular2AppRoots: tells Protractor to wait for any angular2 apps on the page instead of just the one matching | ||
* `rootEl` | ||
* | ||
*/ | ||
useAllAngular2AppRoots: true | ||
baseUrl: 'http://localhost:5555', | ||
|
||
specs: [ | ||
'dist/dev/**/*.e2e.js' | ||
], | ||
exclude: [], | ||
|
||
framework: 'jasmine2', | ||
|
||
allScriptsTimeout: 110000, | ||
|
||
jasmineNodeOpts: { | ||
showTiming: true, | ||
showColors: true, | ||
isVerbose: false, | ||
includeStackTrace: false, | ||
defaultTimeoutInterval: 400000 | ||
}, | ||
directConnect: true, | ||
|
||
capabilities: { | ||
'browserName': 'chrome' | ||
}, | ||
|
||
onPrepare: function() { | ||
var SpecReporter = require('jasmine-spec-reporter'); | ||
// add jasmine spec reporter | ||
jasmine.getEnv().addReporter(new SpecReporter({displayStacktrace: true})); | ||
|
||
browser.ignoreSynchronization = false; | ||
}, | ||
|
||
|
||
/** | ||
* Angular 2 configuration | ||
* | ||
* useAllAngular2AppRoots: tells Protractor to wait for any angular2 apps on the page instead of just the one matching | ||
* `rootEl` | ||
* | ||
*/ | ||
useAllAngular2AppRoots: true | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"declaration": false, | ||
"noImplicitAny": false, | ||
"removeComments": true, | ||
"noLib": false, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"sourceMap": true | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"typings/browser.d.ts", | ||
"typings/browser/**" | ||
], | ||
"compileOnSave": false | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"declaration": false, | ||
"noImplicitAny": false, | ||
"removeComments": true, | ||
"noLib": false, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"sourceMap": true | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"typings/browser.d.ts", | ||
"typings/browser/**" | ||
], | ||
"compileOnSave": false | ||
} |