Skip to content

Commit

Permalink
revert breaking change introduced in palantir#3433 (palantir#3477)
Browse files Browse the repository at this point in the history
Restores the removed export `CONFIG_FILENAME` to avoid breaking API users.
Ref: palantir#3433 (comment)

[no-log]
  • Loading branch information
ajafff authored and adidahiya committed Nov 28, 2017
1 parent 2876450 commit 0b3da72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ export interface IConfigurationLoadResult {
// Note: eslint prefers yaml over json, while tslint prefers json over yaml
// for backward-compatibility.
export const JSON_CONFIG_FILENAME = "tslint.json";
/** @deprecated use `JSON_CONFIG_FILENAME` or `CONFIG_FILENAMES` instead. */
export const CONFIG_FILENAME = JSON_CONFIG_FILENAME;
export const CONFIG_FILENAMES = [JSON_CONFIG_FILENAME, "tslint.yaml", "tslint.yml"];

export const DEFAULT_CONFIG: IConfigurationFile = {
Expand Down

0 comments on commit 0b3da72

Please sign in to comment.