* Update node
* Add mocha and chai
* Fix npm audit issue
https://nodesecurity.io/advisories/577
* Skip some redundant errors
* Catch duplicate headings
* Update the wording of a few errors
* Detect when headings are wrapped inside another element
* Build and validate the content of each profile section
* Add tests for validation script
* Remove empty sections in existing profiles
* Rename "Tower / fournova" to "fournova"
* Fix some issues in the readme
These could break later steps in automated profile generation.
* Generate "sed" script to fill in missing readme links
To use this:
sed -e "big output line from script" -i README.md
* Fill in missing readme links
Missing profile files have not been generated yet.
* Update script to write missing company profiles
* Add missing company profile files (minimal)
* Update rename script
Now that company profiles may contain their own filename, we need to
update the filename there too.
* Rename a few company profiles
* Remove temporary code to generate minimal profiles
* Change "Office Locations" to "Office locations" for consistent casing
* Standardize other company headings
* Validate heading names
* Add a way to look at headings of all profiles at once
* Left over from previous changes
* Validate company sort order in readme
* Changes to support validating PR branches
In order to make this work without potentially running untrusted code,
we need to run the validation scripts from a separate place than the
content being validated.
* Fix typo
The output of the validation script should be the same, so this commit
should not generate another bot message.
* Fix most of the readme sort order
The PR should get a new bot message after this.
* Fix remaining sort order issues and remove a duplicate company
* Fix minor issues in readme table
* Parse and validate readme table
* Add missing links from readme to company profiles
* Fix the last issue with a company's name in its profile
* Add script to rename a company profile
* Fix example company name to match its profile filename
* Rename company profiles to match filename convention
Run this to generate the rename commands:
bin/validate.js | grep 'Expected filename' | sed 's#^#bin/rename.sh company-profiles/#; s#: Expected filename "# company-profiles/#; s#" for company .*$##' | tee renames.txt
Inspect the output, then run this to do the renames:
sh < renames.txt
* Add Travis CI configuration