Once npm is installed, run the following npm i -g eslint. This installs the ESLint CLI from the npm repository. To run ESLint, use the following format:
確定! 回上一頁