-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Добавить правило на использование debug от testing-library #30
Comments
https://github.com/testing-library/eslint-plugin-testing-library тут чето про дебаг есть, не подошло? |
- обновлен ESlint до 9 версии - обновлены плагины ESlint - временно отключен eslint-plugin-import (не умеет работать с ESLint 9) - временно отключен eslint-plugin-react-hooks (не умеет работать с ESLint 9) - удален экспорт `eslint/react-hooks` (в будущем будет интегрирован прямо в `eslint/react`) - временно удалены тесты и Jest (нужно будет написать интеграционные)
…ry-rules Шаг 1 #30 Добавить правило на использование debug от testing-library
по версиям для 9 еслинта не подходят
поэтому их пока не буду ставить, задачу предлагаю решить изначально предлагаемым способом |
…ry-rules Шаг 3 #30 Добавить правило на использование debug от testing-library
Проблема: пропускается
debug()
функция отtesting-library
под гит в следствии которой логи CI становятся менее читаемыми.Задача: добавить правило для ESLint
"testing-library/no-debugging-utils": "error"
из пакета https://github.com/testing-library/eslint-plugin-testing-libraryThe text was updated successfully, but these errors were encountered: