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.

Configuration for rule "eol-last" is invalid: Value "always" must be an enum value.

See original GitHub issue

Hi guys, Look like this commit (https://github.com/airbnb/javascript/commit/e5f4eb57b4733d0b338f120842e719f6df51c035) make the lint failed.

Referenced from: /Users/xxx/node_modules/eslint-config-airbnb-base/index.js
Referenced from: airbnb
Referenced from: /Users/xxxx/package.json
Error: /Users/xxxx/node_modules/eslint-config-airbnb-base/rules/style.js:
    Configuration for rule "eol-last" is invalid:
    Value "always" must be an enum value.

![image](https://cloud.githubusercontent.com/assets/2979072/18807813/45b79cc6-827b-11e6-8f1f-44af40294e2b.png)

I will try submit a pull request.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:18

github_iconTop GitHub Comments

2reactions
hozefajcommented, Sep 30, 2016

@ljharb Thanks. You are right, it was Atom causing the issue.

2reactions
ljharbcommented, Sep 25, 2016

@chaintan17 aha - try adding eslint-config-airbnb-base as a dependency locked to 7.1.0?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eslint Configuration for rule "quotes" is invalid: - Stack Overflow
eslintrc: Configuration for rule "quotes" is invalid: Value "[object Object]" must be an enum value. Eslint is version 3.14.0. Any idea what is ......
Read more >
eol-last - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
How to fix Definition for rule typescript-eslint no-use-before ...
I am new to eslint and I cannot figure out how to solve this issue. The beginning of my imports is always underlined...
Read more >
Handbook - Enums - TypeScript
String enums allow you to give a meaningful and readable value when your code runs, independent of the name of the enum member...
Read more >
Enumeration declaration - cppreference.com
An enumeration is a distinct type whose value is restricted to a range of ... 3) Opaque enum declaration for an unscoped enumeration...
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