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.

ESlint error in latest airbnb-base

See original GitHub issue

Hiya,

I’m having an error which I can’t seem to solve:

Error: /Users/[...]/node_modules/eslint-config-airbnb-base/rules/es6.js: Configuration for rule "arrow-parens" is invalid: Value "as-needed,[object Object]" has more items than allowed.

Dependencies:

  "dependencies": {
    "babel-runtime": "^6.0.0",
    "fabric": "^1.6.4",
    "stylus-loader": "^2.3.1",
    "vue": "^1.0.21"
  },
  "devDependencies": {
    "babel-core": "^6.0.0",
    "babel-eslint": "^7.0.0",
    "babel-loader": "^6.0.0",
    "babel-plugin-transform-runtime": "^6.0.0",
    "babel-preset-es2015": "^6.0.0",
    "babel-preset-stage-2": "^6.0.0",
    "babel-register": "^6.0.0",
    "connect-history-api-fallback": "^1.1.0",
    "css-loader": "^0.23.0",
    "eslint": "^3.6.0",
    "eslint-config-airbnb-base": "^8.0.0",
    "eslint-friendly-formatter": "^2.0.5",
    "eslint-loader": "^1.3.0",
    "eslint-plugin-html": "^1.5.3",
    "eslint-plugin-import": "^1.16.0",
    "eventsource-polyfill": "^0.9.6",
    "express": "^4.13.3",
    "extract-text-webpack-plugin": "^1.0.1",
    "file-loader": "^0.8.4",
    "function-bind": "^1.0.2",
    "html-webpack-plugin": "^2.8.1",
    "http-proxy-middleware": "^0.12.0",
    "json-loader": "^0.5.4",
    "ora": "^0.2.0",
    "shelljs": "^0.6.0",
    "stylus": "^0.54.5",
    "stylus-loader": "^2.3.1",
    "url-loader": "^0.5.7",
    "vue-hot-reload-api": "^1.2.0",
    "vue-html-loader": "^1.0.0",
    "vue-loader": "^8.5.0",
    "vue-style-loader": "^1.0.0",
    "webpack": "^1.12.2",
    "webpack-dev-middleware": "^1.4.0",
    "webpack-hot-middleware": "^2.6.0",
    "webpack-merge": "^0.8.3"
  }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
guidoboumancommented, Sep 29, 2016

Oh snap, this is very embarrassing. After fixing all the dependencies for a project I forgot to restart Atom as a last check…

2reactions
ljharbcommented, Sep 29, 2016

Have you restarted Atom since updating the node_modules?

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint-config-airbnb error · Issue #465 · airbnb/javascript - GitHub
I've added "extends": "eslint-config-airbnb" to an empty .eslintrc file and when I run eslint app I get the following error.
Read more >
eslint-config-airbnb-base - npm
Airbnb's base JS ESLint config, following our styleguide. Latest version: 15.0.0, last published: a year ago.
Read more >
node.js - .eslintrc throws errors when extending airbnb config
Add "extends": "airbnb-base" to .eslintrc file. Finally, SUCCESS eslint-config-airbnb-base and its peerDeps were installed successfully. Issue Snap Shot Here.
Read more >
Cannot find module 'eslint-config-airbnb-base' #10388
I'm working on a node.js express project , I have installed Eslint globaly npm install -g eslint, then setup a configuration file using...
Read more >
How to use the eslint-config-airbnb-base/rules/style.rules.semi ...
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
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