Agoric/dapp-offer-up

linting issues when running `yarn lint`

Closed this issue · 0 comments

When running yarn lint on the projet directory I am getting the following errors:

dylan@dylgal-linlt:~/Desktop/demo-new-docs$ yarn lint
yarn run v1.22.21
$ yarn workspaces run lint

> demo-new-docs-contract
$ eslint '**/*.{js,jsx}'

Oops! Something went wrong! :(

ESLint: 8.53.0

ESLint couldn't find the config "@agoric" to extend from. Please check that the name of the config is correct.

The config "@agoric" was referenced from the config file in "/home/dylan/Desktop/demo-new-docs/contract/package.json".

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

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 2
Command: /home/dylan/.nvm/versions/node/v18.16.0/bin/node
Arguments: /home/dylan/.yarn/releases/yarn-1.22.21.cjs run lint
Directory: /home/dylan/Desktop/demo-new-docs/contract
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspaces for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.