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.

Swap out eslint-plugin-flowtype for eslint-plugin-ft-flow

See original GitHub issue

Describe the bug

Hi 👋 , I’m a maintainer on flow-typed and a new flowtype eslint library eslint-plugin-ft-flow

A user on stack overflow reported an issue with eslint-plugin-flowtype in eslint-config-react-app when using create-react-app. Full information can be read here

I’ve already fixed the issue in eslint-plugin-ft-flow and provide the library active maintenance compared to the original. Would the team at create-react-app be interested in swapping over to the new library to solve this and future issues.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:21
  • Comments:10

github_iconTop GitHub Comments

10reactions
emaocommented, Jan 16, 2022

fwiw, I had this same issue and upgrading my node from v12 to v17 (latest) fixed it

8reactions
Brianzchencommented, Jan 18, 2022

One thing you can do as a quick fix is use a different eslint config, you can find a property in package.json that should look something like this

  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },

You can then remove the extends values and replace it with whatever your preference is like airbnb which is a popular one

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint-plugin-flowtype - npm
Start using eslint-plugin-flowtype in your project by running `npm i ... 5416 other projects in the npm registry using eslint-plugin-flowtype.
Read more >
Failed to load plugin 'flowtype' declared in 'package.json ...
... https://github.com/flow-typed/eslint-plugin-ft-flow/pull/23. I'll raise an issue with create-react-app and see if they're willing to swap out the plugin ...
Read more >
eslint-plugin-flowtype | Yarn - Package Manager
Flow type linting rules for ESLint. eslint-plugin-flowtype. Installation; Configuration. Shareable configurations; Community maintained configurations.
Read more >
ESLint error - Failed to load plugin 'flowtype' - YouTrack
This means it's out of the scope for the WebStorm team, and developers from other JetBrains teams will take over. Once we fix...
Read more >
Failed to load plugin 'flowtype' declared in 'package.json ...
For the flowtype eslint plugin this is the exact line of code that's ... issue with create-react-app and see if they're willing to...
Read more >

github_iconTop Related Medium Post

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