Home > Net >  couldn't find an option for Airbnb typescript in react js ( next js ) in eslint
couldn't find an option for Airbnb typescript in react js ( next js ) in eslint

Time:09-09

screenshoot

couldn't find an option for Airbnb typescript in react js ( next js ) in eslint , before this happened I install the storybook and click yes on option to migrate eslint storybook

CodePudding user response:

Maybe this installation can help you https://github.com/storybookjs/eslint-plugin-storybook . I belive @eslint/config not ask directly storybook , after your question I also try npm init @eslint/config in a project but it also not ask storybook to me.

Other than that if you use ts,react and storybook you may use dts https://weiran-zsd.github.io/dts-cli/ .

CodePudding user response:

screenshoot 1

screenshoot 2

before this happened I jsut install the storybook and click yes on option to migrate eslint storybook and the problem now is every time in any project whenever npm init @eslint/config there is no google/Airbnb option for the popular guide I don't know why I try to switch to from 16 node version to 17 and still same try to restart my PC and still same

  • Related