Skip to content

Commit

Permalink
chore: update npm script naming convention for consistency (#193)
Browse files Browse the repository at this point in the history
Changed `lint-*` and `fix-*` to `lint:*` and `fix:*` for better alignment with npm script naming conventions.
  • Loading branch information
lumirlumir authored Dec 12, 2024
1 parent c5b5050 commit 40d91ed
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 40d91ed

Please sign in to comment.