[Предложение: учебник]: Устаревшая информация про ESLint в статье «Стиль кода»

Open Beginner friendly
#2,187 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
documentation

Research direction

Open the source for the “Стиль кода” article at https://learn.javascript.ru/coding-style and locate its ESLint section and configuration example. Update the guidance from .eslintrc to ESLint’s eslint.config.js flat configuration, then check the rendered article and example for accuracy.

Written by the indexing model from the issue text.

Description

suggestion: tutorial
Описание

В статье «Стиль кода» в разделе про ESLint предлагается использовать .eslintrc.
Начиная с ESLint 9 основным форматом конфигурации является eslint.config.js (flat config), а в ESLint 10 .eslintrc больше не поддерживается.
Возможно, стоит обновить этот раздел и пример конфигурации.
Статья: https://learn.javascript.ru/coding-style

Мотивация

Чтобы инструкция соответствовала актуальным версиям ESLint и не вводила начинающих в заблуждение.

Готовы ли вы принять участие в реализации данного предложения?

Да, я готов(а) принять участие.

Dominant language
HTML
Stars
4.1k
Forks
922
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from javascript-tutorial/ru.javascript.info

All issues in javascript-tutorial/ru.javascript.info

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.