Javascript: jsx-sort-props is invalid

Created on 2 Aug 2016  路  2Comments  路  Source: airbnb/javascript

Configuration for rule "react/jsx-sort-props" is invalid: Value "data["0"].shorthandLast" has additional properties.

Anyone else experiencing this?

Details:
"eslint": "^3.2.2",
"eslint-config-airbnb": "^10.0.0",
"eslint-plugin-import": "^1.12.0",
"eslint-plugin-jsx-a11y": "^2.0.1",
"eslint-plugin-react": "^6.0.0"

invalid

Most helpful comment

Thank you for the awesome response time @ljharb. It was Atom / Atom Linter / linter-eslint returning the error. I was using an older globally installed eslint package. When i disabled "Use global ESLint installation" everything works fine 馃憤

All 2 comments

can you provide the output of npm install and your linter command? Is that command correctly an npm run-script, or are you incorrectly running a global eslint?

Thank you for the awesome response time @ljharb. It was Atom / Atom Linter / linter-eslint returning the error. I was using an older globally installed eslint package. When i disabled "Use global ESLint installation" everything works fine 馃憤

Was this page helpful?
0 / 5 - 0 ratings