Skip to content

Commit

Permalink
spacing, object shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilad Gray committed Dec 8, 2016
1 parent a9b7ed1 commit 8451eab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gulp/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = (gulp, plugins, blueprint) => {
return {
basePath: project.cwd,
browserNoActivityTimeout: 100000,
browsers: [ "PhantomJS" ],
browsers: ["PhantomJS"],
client: {
useIframe: false,
},
Expand All @@ -63,14 +63,14 @@ module.exports = (gulp, plugins, blueprint) => {
},
},
files: filesToInclude,
frameworks: [ "mocha", "chai", "phantomjs-shim", "sinon" ],
frameworks: ["mocha", "chai", "phantomjs-shim", "sinon"],
port: 9876,
// coverage is instrumented in gulp/webpack.js
preprocessors: {
"test/**/*.ts": "sourcemap",
"test/index.ts": "webpack",
},
reporters: [ "mocha", "coverage" ],
reporters: ["mocha", "coverage"],
singleRun: true,
webpack: webpackConfig,
webpackMiddleware: {
Expand Down Expand Up @@ -99,7 +99,7 @@ module.exports = (gulp, plugins, blueprint) => {
},
useIframe: true,
},
reporters: [ "mocha" ],
reporters: ["mocha"],
singleRun: false,
});

Expand Down
2 changes: 1 addition & 1 deletion gulp/util/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = {
// synchronously read and return string content of file.
fromFile: (filepath) => fs.readFileSync(filepath, "utf8"),

highlight: highlight,
highlight,

// render the given text as markdown, using the custom rendering logic above.
// code blocks are highlighted using highlight() above.
Expand Down
1 change: 1 addition & 0 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
]
},
"jsRules": {
"object-literal-shorthand": true,
"trailing-comma": [false]
}
}

0 comments on commit 8451eab

Please sign in to comment.