Charles Lyding 3ec03e9673 revert: build: integrate prettier code formatter
This reverts commit 920be3ab397f5f3315a960630274581256f9986b.
2019-03-05 14:53:33 -08:00

28 lines
721 B
TypeScript

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import * as Lint from 'tslint';
import * as ts from 'typescript';
// An empty rule so that tslint does not error on rules '//' (which are comments).
export class Rule extends Lint.Rules.AbstractRule {
public static metadata: Lint.IRuleMetadata = {
ruleName: '//',
type: 'typescript',
description: ``,
rationale: '',
options: null,
optionsDescription: `Not configurable.`,
typescriptOnly: false,
};
public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
return [];
}
}