From a5b4136f69be6cc5a291e9f3e4cc9d4d606ede36 Mon Sep 17 00:00:00 2001 From: zackad Date: Thu, 8 Aug 2024 07:46:00 +0700 Subject: [PATCH] chore: remove npm script alias to run prettier I don't see the value of having this npm script alias. Having this script alias make it difficult to format our codebase. Instead of `yarn prettier --write filename.js` we need to run `./node_modules/.bin/prettier --write filename.js` which more verbose. --- CHANGELOG.md | 1 + package.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49ce0ea4..4382d96d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Internals - Optimize test runner by defining where to look for test files +- NPM script alias to run `prettier` has been removed --- ## 0.7.0 (2024-08-01) diff --git a/package.json b/package.json index 30b6552c..45dc9190 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ ], "scripts": { "lint": "DEBUG=eslint:cli-engine eslint .", - "prettier": "prettier --plugin=./src/index.js --parser=twig", "test": "vitest --run" }, "dependencies": {