Airbnb eslint with prettier-atom not indenting plain text children of JSX tags
See original GitHub issuein my package.json:
"devDependencies": {
"babel-jest": "23.2.0",
"babel-preset-react-native": "4.0.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "17.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.9.1",
"jest": "23.2.0",
"react-test-renderer": "16.3.1"
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Airbnb eslint with prettier-atom not indenting plain text children ...
Airbnb eslint with prettier-atom not indenting plain text children of JSX tags #1844 · Comments · Footer.
Read more >Eslint (Airbnb) indentation issues with React code(JSX)
Now I got new error messages, probably due to some incompatibility: Error: config-airbnb/rules/react.js: Configuration for rule "react/jsx-no- ...
Read more >Airbnb JavaScript Style Guide()
7.15 Functions with multiline signatures, or invocations, should be indented just like every other multiline list in this guide: with each item on...
Read more >eslint-config-canonical - npm
Rule CN AB GG SD XO
@babel/new‑cap ❌ 👻 👻 👻 👻
@babel/no‑invalid‑this 🚨 👻 👻 👻 👻
@babel/no‑unused‑expressions 🚨 👻 👻 👻 👻
Read more >eslint-config-airbnb | Yarn - Package Manager
This package provides Airbnb's .eslintrc as an extensible shared config. Usage. We export three ESLint configurations for your usage. eslint-config-airbnb. Our ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was seeing the wrong indentation (what @MiLeung shows on his issue) when running
eslint --fix
as well, not just when using Atom.He says he doesn’t get the issue when running
--fix
, but I do.And I’m sorry, but isn’t this
eslint-plugin-react
?Sounds like it’s a bug with Atom then. I’ll close, but happy to reopen if needed.