Skip to content

the rule "react/jsx-quotes" is deprecated, please revise it to "jsx-quotes" #416

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

Closed
playtocrazy opened this issue Jan 29, 2016 · 3 comments

Comments

@playtocrazy
Copy link

react/jsx-quotes was deprecated for some time, please revise it to jsx-quotes, thank you.
reference: https://github.com/airbnb/javascript/issues/513

@playtocrazy playtocrazy changed the title "react/jsx-quotes" is deprecated, please revise it to "jsx-quotes" the rule "react/jsx-quotes" is deprecated, please revise it to "jsx-quotes" Jan 29, 2016
@yannickcr
Copy link
Member

Sorry, I don't understand your point. react/jsx-quotes rule was deprecated in v3.4.0 and will be removed in next major release.

@playtocrazy
Copy link
Author

my editor is Atom and when I use the rule react/jsx-quotes, I got error message form Atom as following:

Error: EPERM: operation not permitted, write
at Error (native)
at Object.fs.writeSync (fs.js:663:20)
at SyncWriteStream.write (fs.js:1981:6)
at Console.log (console.js:36:16)
at EventEmitter.Program (C:\Users\richard.lin\AppData\Roaming\npm\node_modules\eslint-plugin-react\lib\rules\jsx-quotes.js:52:15)
at emitOne (events.js:77:13)
at EventEmitter.emit (events.js:169:7)
at NodeEventGenerator.enterNode (C:\Users\richard.lin\AppData\Roaming\npm\node_modules\eslint\lib\util\node-event-generator.js:42:22)
at CommentEventGenerator.enterNode (C:\Users\richard.lin\AppData\Roaming\npm\node_modules\eslint\lib\util\comment-event-generator.js:98:23)
at Controller.controller.traverse.enter (C:\Users\richard.lin\AppData\Roaming\npm\node_modules\eslint\lib\eslint.js:767:36)

then I try to use jsx-quotes, it works fine now.
I just want to provide this information for everyone who get the same problem.

Atom v1.4.1
Atom plugin:

  • linter-eslint v6.0.0
  • linter v1.11.3

@sompylasar
Copy link

@playtocrazy if you're still interested in a solution, please vote for the issue about the cause of the error here: #783

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

3 participants