Skip to content

Commit

Permalink
Fixed broken list on Custom Rules page (palantir#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoto13 authored and nchen63 committed Nov 27, 2016
1 parent 63e8a29 commit 5ced33d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/develop/custom-rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ TSLint ships with a set of core rules that can be configured. However, users are
Let us take the example of how to write a new rule to forbid all import statements (you know, *for science*). Let us name the rule file `noImportsRule.ts`. Rules are referenced in `tslint.json` with their kebab-cased identifer, so `"no-imports": true` would configure the rule.

__Important conventions__:

- Rule identifiers are always kebab-cased.
- Rule files are always camel-cased (`camelCasedRule.ts`).
- Rule files *must* contain the suffix `Rule`.
Expand Down

0 comments on commit 5ced33d

Please sign in to comment.