From f27f71f8c70c44de39d6ab33cb6f370f5945b3ee Mon Sep 17 00:00:00 2001 From: Moritz Jacobs Date: Fri, 18 Sep 2020 13:13:22 +0200 Subject: [PATCH] chore: add missing README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 05e314d..ccc56b5 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Your `package.json`'s `"scripts"` section should… - _abstract script names from their implementation (`test`, not `jest`)_ - _use namespaces to categorize scripts (`"test:unit": "jest"`)_ - _use `:` as a namespace separator_ -- _have the scripts in alphabetic order_ +- _have the scripts in alphabetic or ["natural order"](https://github.com/peerigon/scriptlint/wiki/natural-order) - _have a trigger script for all hooks (ex: if you have `prefoobar`, there must be a `foobar` script)_ - _use `camelCase` for all script names_ - _not alias `devDependencies` (no `"jest": "jest"`)_ @@ -89,6 +89,9 @@ href="https://github.com/peerigon/scriptlint/wiki/uses-allowed-namespace">uses-a
  • alphabetic-order
  • +
  • natural-order +
  • correct-casing
  • no-aliases