Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ESLint plugin that wraps a TSLint configuration and lints the whole source using TSLint

License

NotificationsYou must be signed in to change notification settings

typescript-eslint/eslint-plugin-tslint

Repository files navigation

ESLint plugin that wraps a TSLint configuration and lints the whole source using TSLint.

NPM VersionNPM Downloads

PerWhat About TSLint?, we highly recommend migrating off TSLint.Seetypescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.

Installation

yarn add -D @typescript-eslint/eslint-plugin-tslint

Usage

Configure in your ESLint config file:

{"plugins":["@typescript-eslint/tslint"],"parserOptions":{"project":"tsconfig.json",},"rules":{"@typescript-eslint/tslint/config":["warn",{"lintFile":"",// path to tslint.json of your project"rules":{// tslint rules (will be used if `lintFile` is not specified)},"rulesDirectory":[// array of paths to directories with rules, e.g. 'node_modules/tslint/lib/rules' (will be used if `lintFile` is not specified)]}],}}

Note: The ability to automatically fix problems with--fix is unavailable for TSLint rules loaded with this plugin.

Rules

This plugin contains only a single rule:@typescript-eslint/tslint/config.

About

ESLint plugin that wraps a TSLint configuration and lints the whole source using TSLint

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

    Packages

    No packages published

    Contributors29


    [8]ページ先頭

    ©2009-2025 Movatter.jp