This is a Prettier configuration for Playwright + TypeScript + Prettier projects, with Unicorn and Sonar plugins.
Modern Eslint + Prettier setup for Playwright Typescript projects, with SonarJS and ESLint Unicorn plugins.
It tries to be very agnostic while at the same time use all available, very opinionated tools from the community, to enforce and automate code quality standards and conventions.
Check out the mono-repo @meowsos/playwright-eslint-prettier-setup for the rest of the setup and installation instructions.
-
Install the package:
npm install --save-dev @meowsos/prettier-config
-
Add the following to your
.prettierrc.js
file:module.exports = require('@meowsos/prettier-config')
-
Run the following command to lint your code:
npx prettier --write .
Here is a simplified breakdown of each of the dependencies with URLs to the packages in npm.js:
- "prettier": This is a code formatter. (URL: https://www.npmjs.com/package/prettier)
ISC License (ISC)
Meowso m3au@pm.me (http://about.me/bpalma)
- Manonmani Ramu mananmani.ramu@gmail.com
- clean:
npx delete-empty && git clean -fXd
- bump:
npx npm-check-updates -u && npm install
- publish-manual:
npm publish