token_reference.md: remove not-applied older rules (#83966)

This commit is contained in:
Vítor Galvão 2020-06-11 00:27:43 +01:00 committed by GitHub
parent ec9b54ff9c
commit 39316e6bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -19,11 +19,6 @@ Software vendors are often inconsistent with their naming. By enforcing strict n
* Minimize renaming events
* Unambiguously boil down the name of the software into a unique identifier
The token itself should be:
* Suitable for use as a filename
* Mnemonic
Details of software names and brands will inevitably be lost in the conversion to a minimal token. To capture the vendors full name for a distribution, use the [`name`](https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/name.md) within a Cask. `name` accepts an unrestricted UTF-8 string.
## Finding the Simplified Name of the Vendors Distribution
@ -103,8 +98,6 @@ To convert the Apps Simplified Name (above) to a token:
* Collapse a series of multiple hyphens into one hyphen.
* Delete a leading or trailing hyphen.
We avoid defining Cask tokens in the repository which differ only by the placement of hyphens. Prepend the vendor name if needed to disambiguate the token.
## Cask Filenames
Casks are stored in a Ruby file named after the token, with the file extension `.rb`.