Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@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 0 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.