Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Tweak build options for quiter output, add newlines to the end of som…
Browse files Browse the repository at this point in the history
…e files
  • Loading branch information
Jason Killian committed Jan 26, 2016
1 parent 91d62eb commit 4af24b4
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 13 deletions.
7 changes: 4 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@ module.exports = function (grunt) {
options: {
reporter: "spec"
},
src: ["build/test/**/*Tests.js", "build/test/assert.js", "build/test/lint.js"]
src: ["build/test/**/*Tests.js", "build/test/assert.js"]
}
},

run: {
testBin: {
exec: "./test/check-bin.sh"
cmd: "./test/check-bin.sh",
options: {quiet: Infinity}
},
testRules: {
exec: "node ./build/test/ruleTestRunner.js"
args: ["./build/test/ruleTestRunner.js"]
}
},

Expand Down
2 changes: 1 addition & 1 deletion test/rules/class-name/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ export default class {
// should not fail
}

[0]: name must be in pascal case
[0]: name must be in pascal case
2 changes: 1 addition & 1 deletion test/rules/comment-format/lower/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ class Clazz { // this comment is correct
`${location.protocol}//${location.hostname}`

[lower]: comment must start with lowercase letter
[space]: comment must start with a space
[space]: comment must start with a space
2 changes: 1 addition & 1 deletion test/rules/comment-format/upper/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ class Clazz { // This comment is correct
`${location.protocol}//${location.hostname}`

[upper]: comment must start with uppercase letter
[space]: comment must start with a space
[space]: comment must start with a space
2 changes: 1 addition & 1 deletion test/rules/member-access/accessor/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ const obj = {
get g() {
return 1;
}
};
};
2 changes: 1 addition & 1 deletion test/rules/member-ordering/method/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ class Foo {
~~~~~~~~~~ [0]
}

[0]: Declaration of public instance member variable not allowed to appear after declaration of public instance member function
[0]: Declaration of public instance member variable not allowed to appear after declaration of public instance member function
2 changes: 1 addition & 1 deletion test/rules/no-empty/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ class testClass3 {
~
}
~~~~~ [block is empty]
}
}
2 changes: 1 addition & 1 deletion test/rules/no-shadowed-variable/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ function testParameterDestructuring(
let pos = 3; // failure
~~~ [shadowed variable: 'pos']
}
}
}
2 changes: 1 addition & 1 deletion test/rules/no-string-literal/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ obj["a-2"];
obj["2a"];
obj["?a#$!$^&%&"];

[0]: object access via string literals is disallowed
[0]: object access via string literals is disallowed
2 changes: 1 addition & 1 deletion test/rules/no-unused-variable/default/function.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ declare function func5(): any;

export default function () {
return 0;
}
}
2 changes: 1 addition & 1 deletion test/rules/typedef-whitespace/nospace/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"variable-declaration": "nospace"
}]
}
}
}

0 comments on commit 4af24b4

Please sign in to comment.