epam / epam/UUI

Migrate from ESLint

Open
#2,743 4 comments 0 reactions 0 assignees View on GitHub
Tech debt
Dominant language
TypeScript
Stars
247
Forks
78
Avg merge
14h 27m
Merged PRs (30d)
15

Description

#### Foreword

> eslint made all "stylistic" rules as frozen.

...says comment at [eslintrc.base.js](https://github.com/epam/UUI/blob/7f998d6a1e6a0ea2fe67dab0d84a04db4a227314/uui-build/linting/eslintrc.base.js)

#### Details

It was breaking news reported from ESLint team at 2020. At 2023 [ESLint Stylistic](https://eslint.style/) plugin was created.

Here's a info from "[Getting started](https://eslint.style/guide/getting-started#getting-started)":

> ESLint Stylistic is a collection of stylistic rules for ESLint, migrated from `eslint` core and `@typescript-eslint` repo to shift the maintenance effort to the community. Learn more about [why we need this project](https://eslint.style/guide/why).

From "[Why?](https://eslint.style/guide/why)":

> This project was initiated as ESLint and `typescript-eslint` teams [decided to deprecate formatting/stylistic-related rules](https://github.com/eslint/eslint/issues/17522) from their core due to the maintenance cost. This project ports those rules and distributes them as separate packages. We will keep them maintained as the community.

As for the Jan 2025, [last release was week ago](https://github.com/eslint-stylistic/eslint-stylistic/releases/tag/v2.13.0). So, it is well maintained I could say.

It also has a [migration guide](https://eslint.style/guide/migration) which provides a few migration strategies.

_p.s. Onboarding already migrated to Stylistic last year_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.