Skip to content

Commit

Permalink
Added no-trailing-whitespace with gulp-shenanigans 0.1.13
Browse files Browse the repository at this point in the history
Also test/**/* in .npmignore and docs/generated/** in .gitignore.
  • Loading branch information
Josh Goldberg committed Jun 8, 2017
1 parent 5b63044 commit 418f28b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -47,7 +47,7 @@
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-shenanigans": "^0.6.12"
"gulp-shenanigans": "^0.6.13"
},
"scripts": {
"gulp": "gulp",
Expand Down
8 changes: 4 additions & 4 deletions test/main.ts
Expand Up @@ -13,15 +13,15 @@ export const mochaLoader: MochaLoader = new MochaLoader(mocha);

/**
* Adds a new test under the current test path.
*
*
* @param testName The name of the test.
* @param test A new test.
*/
export const it: typeof mochaLoader.it = mochaLoader.it.bind(mochaLoader);

/**
* Adds a new test under a custom test path.
*
*
* @param path Extra path after the current test path.
* @param testName The name of the test.
* @param test A new test.
Expand All @@ -30,7 +30,7 @@ export const under: typeof mochaLoader.under = mochaLoader.under.bind(mochaLoade

/**
* Informs RequireJS of the file location for a test dependency.
*
*
* @param testDependencies Modules depended upon for tests.
*/
function redirectTestDependencies(dependencies: string[]): void {
Expand All @@ -45,7 +45,7 @@ function redirectTestDependencies(dependencies: string[]): void {

/**
* Recursively loads test paths under mocha loader.
*
*
* @param loadingPaths Test paths to load.
* @param i Which index test path to load.
* @param onComplete A callback for when loading is done.
Expand Down
10 changes: 5 additions & 5 deletions test/utils/MochaLoader.ts
Expand Up @@ -43,7 +43,7 @@ export class MochaLoader {

/**
* Initializes a new instance of the MochaLoader class.
*
*
* @param mocha The underlying mocha instance.
*/
public constructor(mocha: Mocha) {
Expand All @@ -53,7 +53,7 @@ export class MochaLoader {

/**
* Sets the current test path.
*
*
* @param rawPath A new current test path.
*/
public setTestPath(rawPath: string): void {
Expand All @@ -62,7 +62,7 @@ export class MochaLoader {

/**
* Adds a new test under the current test path.
*
*
* @param testName The name of the test.
* @param test A new test.
*/
Expand All @@ -72,7 +72,7 @@ export class MochaLoader {

/**
* Adds a new test under a custom test path.
*
*
* @param path Extra path after the current test path.
* @param testName The name of the test.
* @param test A new test.
Expand Down Expand Up @@ -114,7 +114,7 @@ export class MochaLoader {

/**
* Recursively describes a test hierarchy and its children hierarchies.
*
*
* @param testHierarchy A test hierarchy to describe.
*/
private describeTestHierarchy(testHierarchy: ITestHierarchy): void {
Expand Down
1 change: 1 addition & 0 deletions tslint.json
Expand Up @@ -28,6 +28,7 @@
"no-non-null-assertion": [false],
"no-object-literal-type-assertion": [false],
"no-require-imports": false,
"no-trailing-whitespace": [false, "ignore-jsdoc"],
"no-unbound-method": [false],
"no-unsafe-any": [false],
"no-unused-variable": [false],
Expand Down

0 comments on commit 418f28b

Please sign in to comment.