Tim Deschryver 4/6/2020

Migrating a TSLint Rule to ESLint with @typescript-eslint

Read Original

This technical article provides a step-by-step tutorial for developers migrating custom linting rules from the deprecated TSLint to ESLint. It covers installing necessary dependencies (@typescript-eslint/parser, @typescript-eslint/eslint-plugin), project structure changes, using RuleCreator from @typescript-eslint/experimental-utils, and rewriting rule implementations with ESLint's selector-based AST querying for a better developer experience.

Migrating a TSLint Rule to ESLint with @typescript-eslint

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week