javascript-tutorial / javascript-tutorial/ru.javascript.info
[Предложение: учебник]: Устаревшая информация про ESLint в статье «Стиль кода»
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4.1k
- Forks
- 922
- PR merge metrics
- No merged PRs in 30d
Description
Описание
В статье «Стиль кода» в разделе про ESLint предлагается использовать .eslintrc.
Начиная с ESLint 9 основным форматом конфигурации является eslint.config.js (flat config), а в ESLint 10 .eslintrc больше не поддерживается.
Возможно, стоит обновить этот раздел и пример конфигурации.
Статья: https://learn.javascript.ru/coding-style
Мотивация
Чтобы инструкция соответствовала актуальным версиям ESLint и не вводила начинающих в заблуждение.
Готовы ли вы принять участие в реализации данного предложения?
Да, я готов(а) принять участие.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 78/100