@meowsos/eslint-config
Description
ESLint config 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
Usage
-
Install the package:
npm install --save-dev @meowsos/eslint-config
-
Add the following to your .eslintrc.js
file:
module.exports = {
extends: ['@meowsos/eslint-config'],
}
-
Add the following to your package.json
file:
{
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix"
}
}
-
Run the following command to lint your code:
npm run lint
Peer Dependencies
Here is a simplified breakdown of each of the dependencies with URLs to the packages in npm.js:
Homepage
Project Homepage
License
ISC License (ISC)
Author
Meowso m3au@pm.me (http://about.me/bpalma)
Contributors
Development
Scripts
- clean:
npx delete-empty && git clean -fXd
- bump:
npx npm-check-updates -u && npm install
- publish-manual:
npm publish