最終更新:2023-09-14 (木) 15:03:35 (14d)  

npm init @eslint/config

  • npx exec @eslint/create-config?が実行される

メモ

  • √ How would you like to use ESLint? · problems
    √ What type of modules does your project use? · esm
    √ Which framework does your project use? · react
    √ Does your project use TypeScript? · No / Yes
    √ Where does your code run? · browser
    √ What format do you want your config file to be in? · JavaScript
    Local ESLint installation not found.
    The config that you've selected requires the following dependencies:
    
    eslint-plugin-react@latest eslint@latest
    √ Would you like to install them now? · No / Yes
    √ Which package manager do you want to use? · npm

React

JavaScript

  • eslint-plugin-react?

TypeScript

スタイルガイド

設定

関連