Open jdkato opened 5 years ago
Is here a good place to mention that Avoid.yml
seems to be cut off rather prematurely?
A search like this one for "never use" turns up quite a few (master/slave is what got me looking at Avoid in the first place...). A related search term is "don't use".
Or, a grep over a local copy of the style guide's GitHub repo may be even faster and more useful!
It's not "cut off"; it's simply not complete yet (as with many other rules here).
Accepting PRs for additions, I assume? :)
Yes, I'd very much appreciate help maintaining this style.
Hello!
I started using the Microsoft style in my projects, and I was hoping I could help out a bit on this issue—would it make sense if I created a coverage file for the A-Z word list?
I got started with the "A"s—I put a sample below. If this looks right, I can keep going through the alphabet and start work on a pull request?
Let me know what you think!
# /coverage/AtoZ.yml
abortion: true #Avoid.yml
abort: false
above: true #Vocab.yml
access: true #Vocab.yml
access-key: false
accessible: true #Vocab.yml
achievement: false
actionable: true #Vocab.yml
active-player-active-user: false
adapter: true #Terms.yml
add: false
add-in-add-on: false
adjacent-selection: false
administer: true #Terms.yml
administrator-admin: true #Terms.yml
afterward: true #Terms.yml
against: true #Vocab.yml
ai: false
alarm: true #Vocab.yml
...
@ShahradR: Yes, this would definitely help us measure our progress.
Neat! I'll get started and hopefully should have a pull request ready soon!
This is easily the most thorough style I've published to date and, as such, I'd like to use its progress as an opportunity to refine the style development process as a whole.
The rest of the this issue will outline some of my general ideas for reaching v1.0.0 of this style and general improvements to styles overall.
Coverage
We've implemented a good portion of the standalone sections in the guide, but the A-Z word list has been largely untouched. The reasons for this are that it's long (length-wise, it's over half the guide) and many of its suggestions context-dependent.
For example, let's look at the 'fail' entry:
The advice above depends on how the word is used -- something that Vale can't reliably detect.
I think the goal for these types of entries should be suggestion-level,
existence
notifications that provide enough information for the user to determine if they're inline with the guide without having the reference it themselves:Measuring Coverage
While it's difficult to determine exactly what percentage of a guide has been covered, I propose the following system: Every page in a style guide should have a corresponding YAML document (
/coverage/<TOPIC>.yml
) that condenses the page down to only what it suggestions:Although somewhat tedious, this would allow us to provide and track an accurate percentage of what we cover.
cc @amyq