Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
@meowsos/eslint-config
Advanced tools
ESLint settings for Eslint + Prettier + Unicorn + Sonar Playwright Typescript projects
ESLint config for Playwright + TypeScript + Prettier projects, with Unicorn and Sonar plugins.
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
Here is a simplified breakdown of each of the dependencies with URLs to the packages in npm.js:
"@playwright/test": This is a library for writing and executing tests using Playwright, a web playwright framework. (URL: https://www.npmjs.com/package/@playwright/test)
"@types/node": This is a package that provides type definitions for the Node.js core libraries. (URL: https://www.npmjs.com/package/@types/node)
"@typescript-eslint/eslint-plugin": This is an ESLint plugin for TypeScript. (URL: https://www.npmjs.com/package/@typescript-eslint/eslint-plugin)
"@typescript-eslint/parser": This is the TypeScript parser for ESLint. (URL: https://www.npmjs.com/package/@typescript-eslint/parser)
"eslint-config-prettier": This is an ESLint configuration that integrates with Prettier, a code formatter. (URL: https://www.npmjs.com/package/eslint-config-prettier)
"eslint-plugin-playwright": This is an ESLint plugin that provides rules for specifically testing with Playwright. (URL: https://www.npmjs.com/package/eslint-plugin-playwright)
"eslint-plugin-prettier": This is an ESLint plugin that integrates with Prettier. (URL: https://www.npmjs.com/package/eslint-plugin-prettier)
"eslint-plugin-sonarjs": This is an ESLint plugin that provides rules for static code analysis using SonarQube, a popular code quality platform. (URL: https://www.npmjs.com/package/eslint-plugin-sonarjs)
"eslint-plugin-unicorn": This is an ESLint plugin that provides a set of stricter rules for writing clean and maintainable JavaScript code. (URL: https://www.npmjs.com/package/eslint-plugin-unicorn)
"eslint": This is the core ESLint package. (URL: https://www.npmjs.com/package/eslint)
"prettier": This is a code formatter that automatically formats code to a consistent style. (URL: https://www.npmjs.com/package/prettier)
"typescript": This is the TypeScript compiler. (URL: https://www.typescriptlang.org)
ISC License (ISC)
Meowso m3au@pm.me (http://about.me/bpalma)
npx delete-empty && git clean -fXd
npx npm-check-updates -u && npm install
npm publish
FAQs
ESLint settings for Playwright Typescript projects with ESLint Prettier Unicorn SonarJS
The npm package @meowsos/eslint-config receives a total of 1 weekly downloads. As such, @meowsos/eslint-config popularity was classified as not popular.
We found that @meowsos/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.