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.

Regression from 2.13.0 release - relative requires in extend

See original GitHub issue

Ref https://github.com/eslint/eslint/pull/6359 I think, @mysticatea

What version of ESLint are you using?

2.13.0 (just released)

What parser (default, Babel-ESLint, etc.) are you using?

default

Please show your full configuration:

{
  "extends": "./node_modules/eslint-preset-behance/.eslintrc"
}

What did you do? Please include the actual source code causing the issue.

run eslint app_folder/

Updated to 2.13.0 in CI

What did you expect to happen?

No issues

What actually happened? Please include the actual, raw output from ESLint.

Cannot read config file: app/node_modules/node_modules/eslint-preset-behance/.eslintrc
Error: ENOENT: no such file or directory, open 'app/node_modules/node_modules/eslint-preset-behance/.eslintrc'

It’s checking node_modules/node_modules for some reason

Workaround I guess is that we don’t have to use ./node_modules/

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:7
  • Comments:20 (16 by maintainers)

github_iconTop GitHub Comments

7reactions
mysticateacommented, Jun 17, 2016

I apologize for this. I will investigate this. I think relativeTo should be the directory that .eslintrc exists.

6reactions
pagliascommented, Jun 17, 2016

Same here. It broke all our builds

Read more comments on GitHub >

github_iconTop Results From Across the Web

Log4j – Changes - Apache Logging Services
Update MongoDB tests to require Java 8 unconditionally now that Log4j requires Java 8. ggregory. Update mongodb3.version from 3.12.1 to 3.12.6.
Read more >
eslint couldn't find the config "react-app" to extend from
After the release of 2.13.0 , projects consuming my personal eslint-config can no longer successfully load the chain of extends. It would appear...
Read more >
astroid's ChangeLog — Astroid 2.13.0-dev0 documentation
Release date: 2022-07-09. Fix signal has no connect member for PySide2 5.15.2+ and PySide6. Closes #4040, #5378. astroid now requires Python 3.7.2 to...
Read more >
Regression Models for Ordinal Data
Title Regression Models for Ordinal Data. Version 2022.11-16. Date 2022-11-16. LazyData true. ByteCompile yes. Depends R (>= 2.13.0), stats, ...
Read more >
Bioconductor 2.13 Released
There are 84 new packages in this release of Bioconductor. ... flowBeads: This package extends flowCore to provide functionality specific to bead data....
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