javascript: Configuration for rule "eol-last" is invalid: Value "always" must be an enum value.
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.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 3
- Comments: 18
Commits related to this issue
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to react-boilerplate/react-boilerplate by chaintng 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 (cherry picked from commit 148da8c3f4d4604f71e65a29fb409c9544005909) — committed to StrikeForceZero/react-typescript-boilerplate by chaintng 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to marvellous122/react-redux-base by marvellous122 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to shaun554/react-boilerplate by shaun554 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to mauricewells/react-boilerplate by deleted user 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to kazuma512/react-boilerplate-typescript by kazuma512 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to AIDevMonster/react-boilerplate by AIDevMonster 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to whiteghostDev/react-boilerplate by whiteghostDev 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to muscliary/react-boilerplate by chaintng 8 years ago
- hotfix(deps): eslint-config-airbnb (#1031) See https://github.com/airbnb/javascript/issues/1088 — committed to wesleywang4766/lodash by wesleywang4766 8 years ago
@ljharb Thanks. You are right, it was Atom causing the issue.
@chaintan17 aha - try adding
eslint-config-airbnb-base
as a dependency locked to7.1.0
?Upgrading eslint is the solution to the OP as well.
@hozefaj the only thing I’ve seen with Atom is either mistakenly using a global eslint, or, not restarting Atom after updating node modules. Beyond that, unless you can reproduce the error on the command line directly, I’d file a bug with Atom.
ah, yes! it works! thank you 😃)