question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

我尝试使用codeclimate审查我的基于egg的项目,提示如下

File `.autod.conf.js` ignored because of your .eslintignore file.
File `.eslintignore` ignored because of your .eslintignore file.
File `.eslintrc` ignored because of your .eslintignore file.
File `.gitignore` ignored because of your .eslintignore file.
File `.codeclimate.yml` ignored because of your .eslintignore file.
File `.github` ignored because of your .eslintignore file.
File `.github/ISSUE_TEMPLATE.md` ignored because of your .eslintignore file.
File `.github/PULL_REQUEST_TEMPLATE.md` ignored because of your .eslintignore file.
File `.travis.yml` ignored because of your .eslintignore file.
File `.csslintrc` ignored because of your .eslintignore file.
/usr/src/app/node_modules/eslint/lib/config/config-file.js:401
            throw e;
            ^

Error: Cannot find module 'eslint-config-egg'
Referenced from: /code/.eslintrc
    at ModuleResolver.resolve (/usr/src/app/node_modules/eslint/lib/util/module-resolver.js:74:19)
    at resolve (/usr/src/app/node_modules/eslint/lib/config/config-file.js:478:33)
    at load (/usr/src/app/node_modules/eslint/lib/config/config-file.js:495:26)
    at configExtends.reduceRight.e (/usr/src/app/node_modules/eslint/lib/config/config-file.js:391:36)
    at Array.reduceRight (native)
    at applyExtends (/usr/src/app/node_modules/eslint/lib/config/config-file.js:362:28)
    at Object.load (/usr/src/app/node_modules/eslint/lib/config/config-file.js:529:22)
    at loadConfig (/usr/src/app/node_modules/eslint/lib/config.js:63:33)
    at getLocalConfig (/usr/src/app/node_modules/eslint/lib/config.js:130:29)
    at Config.getConfig (/usr/src/app/node_modules/eslint/lib/config.js:259:26)

有什么好办法么?我试了egg项目本身也是这个提示。

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
duncupcommented, Mar 1, 2017

好的,我抽时间试一试,如果可以会反馈回来。

0reactions
atian25commented, Mar 10, 2017

[摊手]

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code Climate: Data-Driven Engineering Intelligence
Code Climate's industry-leading engineering intelligence solution helps you unlock the full potential of your organization and ship better code, faster.
Read more >
Code Climate CLI - GitHub
codeclimate is a command line interface for the Code Climate analysis platform. It allows you to run Code Climate engines on your local...
Read more >
Code Climate (@codeclimate) / Twitter
Download our free ebook and learn about 10 metrics in software engineering that have proven value time and again for teams.
Read more >
Code Climate - Crunchbase Company Profile & Funding
From day one, Velocity maximizes engineering impact with actionable insights spanning capacity, delivery, quality, culture, and costs.
Read more >
Code Climate - AWS Marketplace
Code Climate empowers software engineering organizations to achieve excellence across people, process, and code with data-driven insights.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found