-
Notifications
You must be signed in to change notification settings - Fork 3
Code Quality ESlint
Alexa Kearns edited this page May 28, 2020
·
1 revision
npm install eslint --save-dev
npx eslint --init
npx eslint
- How would you like to use ESLint? To check syntax, find problems, and enforce code style
- What type of modules does your project use? JavaScript modules (import/export)
- Which framework does your project use? React
- Does your project use TypeScript? No
- Where does your code run? Browser, Node
- How would you like to define a style for your project? Use a popular style guide
- Which style guide do you want to follow? Standard: https://github.com/standard/standard