Skip to content

Commit 740e2b9

Browse files
author
Sven Ulrich
committed
updatedeps: lint
1 parent 9f74fb5 commit 740e2b9

File tree

3 files changed

+591
-1226
lines changed

3 files changed

+591
-1226
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
"@types/chai": "^4.2.7",
3232
"@types/mocha": "^9.1.1",
3333
"@types/node": "^18.7.11",
34+
"@typescript-eslint/eslint-plugin": "^5.34.0",
35+
"@typescript-eslint/parser": "^5.34.0",
3436
"chai": "^4.2.0",
37+
"eslint": "^8.22.0",
3538
"mocha": "^10.0.0",
3639
"ts-node": "^10.9.1",
3740
"typescript": "^4.7.4",

tests/tests.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import { Fruit } from './fruit';
44
import { expect } from 'chai';
55
import 'mocha';
66

7-
export const EOL = "\r\n";
7+
export const EOL = '\r\n';
88

99
describe('String.IsNullOrWhitespace', () => {
1010

1111
it('should return true on null string', () => {
1212
const teststring: string | null = null;
13-
let result = String.IsNullOrWhiteSpace(teststring!);
13+
let result = String.IsNullOrWhiteSpace(teststring);
1414
expect(result).to.equal(true);
1515
result = String.isNullOrWhiteSpace(teststring);
1616
expect(result).to.equal(true);

0 commit comments

Comments
 (0)