Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a problem with display name property #72

Open
max-mykhailenko opened this issue Mar 23, 2016 · 1 comment
Open

Have a problem with display name property #72

max-mykhailenko opened this issue Mar 23, 2016 · 1 comment

Comments

@max-mykhailenko
Copy link

config file

{
  "extends": "defaults/configurations/airbnb/es6-react",
  "plugins": [
    "react"
  ],
  "rules" : {
    "no-case-declarations": 0
  }
}

I already tried with "react/display-name": [0, { "ignoreTranspilerName": false, "acceptTranspilerName": false }] or without it — same result
Error message

Error: defaults/rules/react/airbnb:
    Configuration for rule "react/display-name" is invalid:
    Value "data["0"].acceptTranspilerName" has additional properties.
@max-mykhailenko max-mykhailenko changed the title Have problem with display name property Have a problem with display name property Mar 23, 2016
@tgandrews
Copy link

It needs to be:
"react/display-name": [0, { "ignoreTranspilerName": true }],

This resolves the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants