@iharaleynikov

ESLint не смог найти конфигурацию «airbnb», что делать?

Добрый день всем. Подключил линтер к github actions, но запускается он с такой ошибкой:

Run make lint
npx eslint .
npx: installed 113 in 5.65s

Oops! Something went wrong! :(

ESLint: 7.19.0

ESLint couldn't find the config "airbnb-base" to extend from. Please check that the name of the config is correct.

The config "airbnb-base" was referenced from the config file in "/home/runner/work/frontend-project-lvl1/frontend-project-lvl1/.eslintrc.yml".

If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.

make: *** [lint] Error 2
Makefile:8: recipe for target 'lint' failed
Error: Process completed with exit code 2.


Вот мой код .eslintrc.yml:

plugins:
  - babel

parser: babel-eslint

extends:
  - eslint:recommended
  - airbnb-base

env:
  node: true

rules:
  no-console: 0
  import/extensions: 0


Помогите пожалуйста, что мне делать?
  • Вопрос задан
  • 1394 просмотра
Решения вопроса 1
vovaspace
@vovaspace
Frontend Engineer
Похоже, что конфиг airbnb не установлен.
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы