add eslint and prettier to project code example Example: eslint-config-prettier yarn add -D prettier eslint-config-prettier eslint-plugin-prettier