- Run
$ git clone https://github.com/KumarAbhirup/headless-wordpress-with-react <PROJECT_NAME> # to clone project
$ cd <PROJECT_NAME> # enter in the project
$ yarn # install modules
$ yarn dev # run development server- Visit
http://localhost:3001/
- Install ESLint and Prettier VSCode extensions.
- Done! Now you have live linting and autofixing setup!
- Run
yarn lintto check for linting errors. - Run
yarn lint:fixto fix the linting errors.
- To customize the linter, use
.eslintrc.jsand.prettierrcfile. Learn more
MIT - Source code by Kumar Abhirup