I
I
iharaleynikov2021-02-09 13:33:41
Linter
iharaleynikov, 2021-02-09 13:33:41

ESLint couldn't find "airbnb" configuration, what should I do?

Good day to all. I connected the linter to github actions, but it starts with the following error:

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.


Here is my .eslintrc.yml code:

plugins:
  - babel

parser: babel-eslint

extends:
  - eslint:recommended
  - airbnb-base

env:
  node: true

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


Help please, what should I do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Lewandowski, 2021-02-09
@iharaleynikov

It looks like the airbnb config is not set.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question