Socket
Socket
Sign inDemoInstall

eslint-plugin-prettier

Package Overview
Dependencies
Maintainers
6
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-prettier - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

CHANGELOG.md

22

package.json
{
"name": "eslint-plugin-prettier",
"version": "5.0.0",
"version": "5.0.1",
"description": "Runs prettier as an eslint rule",

@@ -30,2 +30,10 @@ "repository": "git+https://github.com/prettier/eslint-plugin-prettier.git",

],
"scripts": {
"format": "prettier --write . && pnpm lint --fix",
"lint": "eslint . --cache -f friendly --max-warnings 10",
"prepare": "simple-git-hooks",
"prerelease": "pnpm format && pnpm test",
"release": "changeset publish",
"test": "pnpm lint && mocha"
},
"peerDependencies": {

@@ -77,9 +85,7 @@ "@types/eslint": ">=8.0.0",

},
"scripts": {
"format": "prettier --write . && pnpm lint --fix",
"lint": "eslint . --cache -f friendly --max-warnings 10",
"prerelease": "pnpm format && pnpm test",
"release": "changeset publish",
"test": "pnpm lint && mocha"
"pnpm": {
"patchedDependencies": {
"@graphql-eslint/eslint-plugin@3.20.0": "patches/@graphql-eslint__eslint-plugin@3.20.0.patch"
}
}
}
}

@@ -5,3 +5,3 @@ // @ts-check

* @typedef {import('prettier').FileInfoOptions} FileInfoOptions
* @typedef {import('prettier').Options & { onDiskFilepath: string, parserPath: string, usePrettierrc?: boolean }} Options
* @typedef {import('prettier').Options & { onDiskFilepath: string, parserPath?: string, usePrettierrc?: boolean }} Options
*/

@@ -116,3 +116,6 @@

// The `source` would be modified by `eslint-plugin-svelte3`
if (!parserPath.includes('svelte-eslint-parser')) {
if (
typeof parserPath === 'string' &&
!parserPath.includes('svelte-eslint-parser')
) {
// We do not support `eslint-plugin-svelte3`,

@@ -119,0 +122,0 @@ // the users should run `prettier` on `.svelte` files manually

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc