From 40d91ed889a23537a14c211bbb03834be1d6ae45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Thu, 12 Dec 2024 15:38:56 +0900 Subject: [PATCH] chore: update npm script naming convention for consistency (#193) Changed `lint-*` and `fix-*` to `lint:*` and `fix:*` for better alignment with npm script naming conventions. --- package.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 27a1339..08c09f4 100644 --- a/package.json +++ b/package.json @@ -9,19 +9,19 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "concurrently \"npm:lint-*\"", - "lint-eslint": "npx eslint . --ext .js,.jsx", - "lint-stylelint": "npx stylelint **/*.{css,scss}", - "lint-prettier": "npx prettier . --check", - "lint-editorconfig": "npx editorconfig-checker -config .editorconfig-checker.json", - "lint-markdownlint": "npx markdownlint **/*.md", - "lint-textlint": "npx textlint -f pretty-error src/docs", - "lint-clangformat": "find . -name '*.h' -o -name '*.c' -o -name '*.cpp' -print0 | xargs -0 npx clang-format -n -Werror", - "fix": "concurrently \"npm:fix-*\"", - "fix-eslint": "npx eslint . --fix --ext .js,.jsx", - "fix-stylelint": "npx stylelint --fix **/*.{css,scss}", - "fix-prettier": "npx prettier . --write", - "fix-clangformat": "find . -name '*.h' -o -name '*.c' -o -name '*.cpp' -print0 | xargs -0 npx clang-format -i", + "lint": "concurrently \"npm:lint:*\"", + "lint:eslint": "npx eslint . --ext .js,.jsx", + "lint:stylelint": "npx stylelint **/*.{css,scss}", + "lint:prettier": "npx prettier . --check", + "lint:editorconfig": "npx editorconfig-checker -config .editorconfig-checker.json", + "lint:markdownlint": "npx markdownlint **/*.md", + "lint:textlint": "npx textlint -f pretty-error src/docs", + "lint:clangformat": "find . -name '*.h' -o -name '*.c' -o -name '*.cpp' -print0 | xargs -0 npx clang-format -n -Werror", + "fix": "concurrently \"npm:fix:*\"", + "fix:eslint": "npx eslint . --fix --ext .js,.jsx", + "fix:stylelint": "npx stylelint --fix **/*.{css,scss}", + "fix:prettier": "npx prettier . --write", + "fix:clangformat": "find . -name '*.h' -o -name '*.c' -o -name '*.cpp' -print0 | xargs -0 npx clang-format -i", "count-docs": "ls -R src/posts/docs | grep .md | wc -l" }, "dependencies": {