Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
Some doc touches
Browse files Browse the repository at this point in the history
  • Loading branch information
sushain97 authored Aug 18, 2017
1 parent 17019a0 commit 975c276
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rules/blueprintClassNameRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export class Rule extends Lint.Rules.AbstractRule {
ruleName: "blueprint-class-name",
description: "Checks for Blueprint class names that are expressed as string literals",
descriptionDetails: Lint.Utils.dedent
`Using string literals instead of a constant from Classes.* exported by Blueprint
is prone to typos and prevents compile-time validation of class existence.`,
`Using string literals instead of a constant from @blueprintjs/core's Classes or IconClasses
is prone to typos and prevents compile-time validation of the CSS class's existence.`,
options: null,
optionsDescription: "",
optionExamples: ["true"],
Expand All @@ -35,7 +35,7 @@ export class Rule extends Lint.Rules.AbstractRule {
};
/* tslint:enable:object-literal-sort-keys */

public static FAILURE_STRING = "Use a constant from Classes.* instead of a string literal class name";
public static FAILURE_STRING = "Use a constant from Classes or IconClasses instead of a string literal";

public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
return this.applyWithFunction(sourceFile, walk);
Expand Down

0 comments on commit 975c276

Please sign in to comment.