This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13bef25
commit 9fe2347
Showing
13 changed files
with
3,192 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import type * as Tslint from "tslint"; | ||
export declare function shim(Linter: Function): typeof Tslint.Linter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
export declare const config: { | ||
enableSemanticRules: { | ||
type: string; | ||
title: string; | ||
description: string; | ||
default: boolean; | ||
order: number; | ||
}; | ||
rulesDirectory: { | ||
type: string; | ||
title: string; | ||
default: string; | ||
order: number; | ||
}; | ||
fixOnSave: { | ||
title: string; | ||
description: string; | ||
type: string; | ||
default: boolean; | ||
order: number; | ||
}; | ||
ignoreTypings: { | ||
type: string; | ||
title: string; | ||
default: boolean; | ||
order: number; | ||
}; | ||
useLocalTslint: { | ||
type: string; | ||
title: string; | ||
default: boolean; | ||
order: number; | ||
}; | ||
useGlobalTslint: { | ||
type: string; | ||
title: string; | ||
description: string; | ||
default: boolean; | ||
order: number; | ||
}; | ||
globalNodePath: { | ||
type: string; | ||
title: string; | ||
description: string; | ||
default: string; | ||
order: number; | ||
}; | ||
}; | ||
export interface ConfigSchema { | ||
enableSemanticRules: boolean; | ||
rulesDirectory: string | null; | ||
fixOnSave: boolean; | ||
ignoreTypings: boolean; | ||
useLocalTslint: boolean; | ||
useGlobalTslint: boolean; | ||
globalNodePath: string | null; | ||
} | ||
export declare const defaultConfig: Readonly<{ | ||
readonly enableSemanticRules: false; | ||
readonly rulesDirectory: ""; | ||
readonly fixOnSave: false; | ||
readonly ignoreTypings: false; | ||
readonly useLocalTslint: true; | ||
readonly useGlobalTslint: false; | ||
readonly globalNodePath: ""; | ||
}>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { TextEditor } from 'atom'; | ||
export declare function activate(): void; | ||
export declare function deactivate(): void; | ||
export declare function provideLinter(): { | ||
name: string; | ||
grammarScopes: string[]; | ||
scope: string; | ||
lintsOnChange: boolean; | ||
lint: (textEditor: TextEditor) => Promise<import("tslint").LintResult[] | null>; | ||
}; | ||
export { config } from './config'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.