|
| 1 | +--- |
1 | 2 | extends: conditional |
2 | | -message: "'%s' has no definition" |
3 | | -level: error |
| 3 | +message: "'%s' has no definition." |
| 4 | +description: > |
| 5 | + Ensures that all acronyms used in the documentation are clearly defined. |
| 6 | +link: https://docs.umbraco.com/contributing/documentation/style-guide#acronyms |
4 | 7 | scope: text |
| 8 | +level: error |
5 | 9 | ignorecase: false |
6 | | -# Ensures that the existence of 'first' implies the existence of 'second'. |
7 | | -# Require leading whitespace to avoid matching on URL substrings eg https://www.youtube.com/embed/OUD-PbWESAs?rel=0 |
| 10 | +# If an uppercase acronym of 3-5 letters is found (first), |
| 11 | +# require a definition (second) somewhere nearby. |
8 | 12 | first: '\b([A-Z]{3,5})\b' |
9 | 13 | second: '([A-Z]{3,5}): (?:\b[A-Z][a-z]+ )+|(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' |
10 | | -# ... with the exception of these: |
| 14 | +# ... with the exception of these. Sorted alphabetically for easier maintenance. |
11 | 15 | exceptions: |
12 | | - - ABC |
13 | | - - ADD |
14 | | - - ALT |
15 | | - - HTML |
16 | | - - JSON |
17 | | - - CSS |
18 | | - - API |
19 | | - - URL |
20 | | - - UDI |
21 | | - - URI |
22 | | - - NET |
23 | | - - MVC |
24 | | - - GET |
25 | | - - ASP |
26 | | - - ADO |
27 | | - - REST |
28 | | - - HTTP |
29 | | - - HTTPS |
30 | | - - CURL |
31 | | - - BASE |
32 | | - - UDA |
33 | | - - CLI |
34 | | - - KUDU |
35 | | - - XML |
36 | | - - PATH |
37 | | - - SQL |
38 | | - - SHIFT |
39 | | - - POST |
40 | | - - GUID |
41 | | - - UWP |
42 | | - - HAL |
43 | | - - LINK |
44 | | - - DLL |
45 | | - - CMS |
46 | | - - ONLY |
47 | | - - IIS |
48 | | - - DNS |
49 | | - - DOM |
50 | | - - XSLT |
51 | | - - AJAX |
52 | | - - YAML |
53 | | - - PNG |
54 | | - - ISO |
55 | | - - PDF |
56 | | - - DXP |
57 | | - - FAQ |
58 | | - - DIBS |
59 | | - - VAT |
60 | | - - SKU |
61 | | - - UTC |
62 | | - - HEX |
63 | | - - RGBA |
64 | | - - IDE |
65 | | - - CPU |
66 | | - - RAM |
67 | | - - CNAME |
68 | | - - AAAA |
69 | | - - TXT |
70 | | - - PUT |
71 | | - - DELETE |
72 | | - - ZIP |
73 | | - - CTRL |
74 | | - - SPACE |
75 | | - - ENTER |
76 | | - - VIP |
77 | | - - DEBUG |
78 | | - - INFO |
79 | | - - TEMP |
80 | | - - GIF |
81 | | - - GDPR |
82 | | - - NPM |
83 | | - - SVG |
84 | | - - DHL |
85 | | - - UUI |
86 | | - - MDN |
87 | | - - JPG |
88 | | - - JPEG |
89 | | - - BCC |
90 | | - - SSD |
91 | | - - ASCII |
92 | | - - CMD |
93 | | - - NGINX |
| 16 | + - AAAA # IPv6 address record (DNS) |
| 17 | + - ADD # |
| 18 | + - ADO # ActiveX Data Objects |
| 19 | + - AJAX # Asynchronous JavaScript and XML |
| 20 | + - ALT # Alternative text (images) |
| 21 | + - API # Application Programming Interface |
| 22 | + - ASCII # American Standard Code for Information Interchange |
| 23 | + - ASP # Active Server Pages |
| 24 | + - BCC # Blind Carbon Copy (email) |
| 25 | + - CD # Continuous Delivery |
| 26 | + - CDN # Content Delivery Network |
| 27 | + - CI # Continuous Integration |
| 28 | + - CLI # Command Line Interface |
| 29 | + - CMD # Command (Windows shell) |
| 30 | + - CMS # Content Management System |
| 31 | + - CPU # Central Processing Unit |
| 32 | + - CSS # Cascading Style Sheets |
| 33 | + - CTRL # Control (Keyboard key) |
| 34 | + - CURL # Client URL |
| 35 | + - DELETE # HTTP DELETE method |
| 36 | + - DHL # International Shipping brand |
| 37 | + - DIBS # DIBS by Nets |
| 38 | + - DNS # Domain Name System |
| 39 | + - DOM # Document Object Model |
| 40 | + - DXP # Digital Experience Platform |
| 41 | + - EOL # End of Life |
| 42 | + - FAQ # Frequently Asked Questions |
| 43 | + - FTP # File Transfer Protocol |
| 44 | + - GDPR # General Data Protection Regulation |
| 45 | + - GET # HTTP GET method |
| 46 | + - GIF # Graphics Interchange Format |
| 47 | + - GUI # Graphical user interface |
| 48 | + - GUID # Globally Unique Identifier |
| 49 | + - HAL # Hypertext Application Language |
| 50 | + - HASH # Cryptographic hash |
| 51 | + - HEX # Hexadecimal |
| 52 | + - HTML # HyperText Markup Language |
| 53 | + - HTTP # HyperText Transfer Protocol |
| 54 | + - HTTPS # HyperText Transfer Protocol Secure |
| 55 | + - IaaS # Infrastructure as a Service |
| 56 | + - IDE # Integrated Development Environment |
| 57 | + - IIS # Internet Information Services |
| 58 | + - INFO # Information |
| 59 | + - ISO # International Organization for Standardization |
| 60 | + - JPG # Joint Photographic Experts Group |
| 61 | + - JPEG # Joint Photographic Experts Group |
| 62 | + - JSON # JavaScript Object Notation |
| 63 | + - JSONP # JSON with Padding |
| 64 | + - JS # JavaScript |
| 65 | + - JWT # JSON Web Token |
| 66 | + - KUDU # Azure deployment engine |
| 67 | + - LDAP # Lightweight Directory Access Protocol |
| 68 | + - LINK # |
| 69 | + - MIT # Open-source software license developed at the Massachusetts Institute of Technology (MIT) |
| 70 | + - MDN # Mozilla Developer Network |
| 71 | + - MFA # Multi-factor Authentication |
| 72 | + - MVC # Model-View-Controller |
| 73 | + - NET # .NET Framework |
| 74 | + - NGINX # Engine X (web server) |
| 75 | + - NPM # Node Package Manager |
| 76 | + - OAuth # Open Authorization |
| 77 | + - ONLY # |
| 78 | + - ORM # Object-Relational Mapping |
| 79 | + - PaaS # Platform as a Service |
| 80 | + - PATH # file system path |
| 81 | + - PDF # Portable Document Format |
| 82 | + - PNG # Portable Network Graphics |
| 83 | + - POST # HTTP POST method |
| 84 | + - PUT # HTTP PUT method |
| 85 | + - RAM # Random Access Memory |
| 86 | + - REST # Representational State Transfer |
| 87 | + - RGBA # Red Green Blue Alpha (color model) |
| 88 | + - RPG # Role-Playing Game |
| 89 | + - RTX # Ray Tracing Texel eXtreme (NVIDIA tech) |
| 90 | + - SaaS # Software as a Service |
| 91 | + - SDK # Software Development Kit |
| 92 | + - SEO # Search Engine Optimization |
| 93 | + - SHIFT # Keyboard key |
| 94 | + - SPACE # Keyboard key |
| 95 | + - SKU # Stock Keeping Unit |
| 96 | + - SMTP # Simple Mail Transfer Protocol |
| 97 | + - SQL # Structured Query Language |
| 98 | + - SSD # Solid State Drive |
| 99 | + - SSL # Secure Sockets Layer |
| 100 | + - SVG # Scalable Vector Graphics |
| 101 | + - TCP # Transmission Control Protocol |
| 102 | + - TEMP # Temporary |
| 103 | + - TS # TypeScript |
| 104 | + - TXT # Text (file format) |
| 105 | + - TLS # Transport Layer Security |
| 106 | + - UDA # Files for Umbraco project's metadata |
| 107 | + - UDI # Unique Device Identifier |
| 108 | + - UI # User Interface |
| 109 | + - URI # Uniform Resource Identifier |
| 110 | + - URL # Uniform Resource Locator |
| 111 | + - UTC # Coordinated Universal Time |
| 112 | + - UUID # Universally Unique Identifier |
| 113 | + - UWP # Universal Windows Platform |
| 114 | + - UX # User Experience |
| 115 | + - VAL # |
| 116 | + - VAT # Value-Added Tax |
| 117 | + - VIP # Very Important Person |
| 118 | + - WYSIWYG # What You See Is What You Get |
| 119 | + - XML # Extensible Markup Language |
| 120 | + - XSLT # Extensible Stylesheet Language Transformations |
| 121 | + - XSS # Cross-Site Scripting |
| 122 | + - YAML # YAML file |
| 123 | + - ZIP # ZIP file format |
0 commit comments