Skip to content

Commit 24671c0

Browse files
committed
change lint to allow long urls
1 parent 49796cf commit 24671c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cdk/testing/tests/protractor.e2e.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ import {SubComponentHarness, SubComponentSpecialHarness} from './harnesses/sub-c
1212

1313
// Kagekiri is available globally in the browser. We declare it here so we can use it in the
1414
// browser-side script passed to `by.js`.
15-
// TODO(mmalerba): Replace with type-only import once TS 3.8 is available
16-
// tslint:disable-next-line:max-line-length
17-
// See: https://devblogs.microsoft.com/typescript/announcing-typescript-3-8-beta/#type-only-imports-exports
15+
// TODO(mmalerba): Replace with type-only import once TS 3.8 is available, see:
16+
// https://devblogs.microsoft.com/typescript/announcing-typescript-3-8-beta/#type-only-imports-exports
1817
declare const kagekiri: {
1918
querySelectorAll: (selector: string, root: Element) => NodeListOf<Element>;
2019
};

tslint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"max-line-length": [true, {
99
"limit": 100,
1010
"check-strings": true,
11-
"check-regex": true
11+
"check-regex": true,
12+
"ignore-pattern": "//\\s+https?://"
1213
}
1314
],
1415
// Disable this flag because of SHA tslint#48b0c597f9257712c7d1f04b55ed0aa60e333f6a

0 commit comments

Comments
 (0)