Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: replace deprecated tslint rule with compiler option #13186

Merged
merged 1 commit into from
Dec 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/bazel-tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions src/cdk-experimental/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions src/dev-app/tsconfig-aot.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions src/dev-app/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
Expand Down
3 changes: 1 addition & 2 deletions src/lib/button/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ export class MatButton extends _MatButtonMixinBase
* @deprecated Platform checks for SSR are no longer needed
* @breaking-change 8.0.0
*/
// tslint:disable-next-line:no-unused-variable
private _platform: Platform,
_platform: Platform,
private _focusMonitor: FocusMonitor,
// @breaking-change 8.0.0 `_animationMode` parameter to be made required.
@Optional() @Inject(ANIMATION_MODULE_TYPE) public _animationMode?: string) {
Expand Down
2 changes: 2 additions & 0 deletions src/lib/schematics/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"noEmitOnError": false,
"strictNullChecks": true,
"skipDefaultLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"skipLibCheck": true,
"sourceMap": true,
"declaration": true,
Expand Down
1 change: 1 addition & 0 deletions src/material-examples/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions src/material-experimental/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions src/material-moment-adapter/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions src/universal-app/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions src/universal-app/tsconfig-prerender.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"stripInternal": false,
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 1 addition & 0 deletions tools/dgeni/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"lib": ["es2015", "dom", "es2016.array.include"],
"module": "commonjs",
"moduleResolution": "node",
Expand Down
1 change: 1 addition & 0 deletions tools/gulp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"lib": ["es2015", "dom", "es2016.array.include"],
"module": "commonjs",
"moduleResolution": "node",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"module": "es2015",
"moduleResolution": "node",
"noUnusedParameters": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
Expand Down
1 change: 0 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"no-var-keyword": true,
"member-access": [true, "no-public"],
"no-debugger": true,
"no-unused-variable": true,
"one-line": [
true,
"check-catch",
Expand Down