peopledoc / eslint-config-peopledoc

ESLint config for PeopleDoc frontend projects
MIT License
1 stars 1 forks source link

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

Closed edouard-lopez closed 6 years ago

edouard-lopez commented 6 years ago

related: #10 , airbnb/javascript#1088

Problem

If you get this error, don't worry the config is correct, you are using a version of eslint that's too old.

Solution

Due to how module dependencies version's are resolved you need to enforce a newer version (≥3.x) by installing it manually.

npm install --save-dev \
    eslint \
    peopledoc/eslint-config-peopledoc#1.0.0

or make a clean install of your project