# Updating documentation [./README.md](./README.md) is a generated file. The source of the file is [./.README/README.md](/.README/README.md). ## To make a change to the documentation: 1. Update [./.README/README.md](/.README/README.md) 1. Run `npm run readme` ## To add documentation for a rule: 1. Create new file in `./README/rules/[rule-name].md`. Use [.README/rules/require-valid-file-annotation.md] as a template. Ensure that rule documentation document includes `` declaration. 1. Update [./.README/README.md](/.README/README.md) to include the new rule. 1. Run `npm run readme` Note: The section "The following patterns are considered problems:" and "The following patterns are not considered problems:" is generated using the test cases. `` is replaced with the assertions when you run `npm run readme`.